引文(“psd”)
install.packages(“psd”)
图书馆(psd)
数据(东北) 打印(str(东北))
Dat<-子集(东北,epoch==“地震前”) 面积<-ts(日期$面积)
数据<-预白(区域,绘图=假)
mtpsd<-pspectrum(数据[['prew_lm']],绘图=真) 打印(类(mtpsd))
绘图(mtpsd,log=“dB”)
sprop<-spectral_properties(mtpsd) 带有(sprop{ 绘图(锥度/最大值(锥度),type=“h”,ylim=c(0,2),col=“深灰色”) 行(stderr.chi.lower) 行(stderr.chi.upper) })
图书馆(遥控器) 安装github(“abarbour/psd”)