plot.spec(stats)
plot.spec()所属R语言包:stats
Plotting Spectral Densities
绘制谱密度
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plotting method for objects of class "spec". For multivariate time series it plots the marginal spectra of the series or pairs plots of the coherency and phase of the cross-spectra.
类"spec"对象的绘制方法。多变量时间序列它的一致性和相交叉谱系列或对图轻微的光谱图。
用法----------Usage----------
## S3 method for class 'spec'
plot(x, add = FALSE, ci = 0.95, log = c("yes", "dB", "no"),
xlab = "frequency", ylab = NULL, type = "l",
ci.col = "blue", ci.lty = 3,
main = NULL, sub = NULL,
plot.type = c("marginal", "coherency", "phase"),
...)
plot.spec.phase(x, ci = 0.95,
xlab = "frequency", ylab = "phase",
ylim = c(-pi, pi), type = "l",
main = NULL, ci.col = "blue", ci.lty = 3, ...)
plot.spec.coherency(x, ci = 0.95,
xlab = "frequency",
ylab = "squared coherency",
ylim = c(0, 1), type = "l",
main = NULL, ci.col = "blue", ci.lty = 3, ...)
参数----------Arguments----------
参数:x
an object of class "spec".
对象类"spec"。
参数:add
logical. If TRUE, add to already existing plot. Only valid for plot.type = "marginal".
逻辑。如果TRUE,添加到现有的图。唯一有效的plot.type = "marginal"。
参数:ci
coverage probability for confidence interval. Plotting of the confidence bar/limits is omitted unless ci is strictly positive.
置信区间的覆盖概率。被忽略,除非ci是严格正图信心条形/限制。
参数:log
If "dB", plot on log10 (decibel) scale (as S-PLUS), otherwise use conventional log scale or linear scale. Logical values are also accepted. The default is "yes" unless options(ts.S.compat = TRUE) has been set, when it is "dB". Only valid for plot.type = "marginal".
如果"dB",LOG10(分贝)的规模(如,S-PLUS)的图,否则用常规测井的刻度或线性刻度。逻辑值也接受。默认是"yes"除非options(ts.S.compat = TRUE)已定,当它是"dB"。唯一有效的plot.type = "marginal"。
参数:xlab
the x label of the plot.
X标签的图。
参数:ylab
the y label of the plot. If missing a suitable label will be constructed.
图的y标签。如果缺少一个合适的标签将兴建。
参数:type
the type of plot to be drawn, defaults to lines.
要绘制的图类型,默认为线。
参数:ci.col
colour for plotting confidence bar or confidence intervals for coherency and phase.
颜色一致性和相位,图信心条形或置信区间。
参数:ci.lty
line type for confidence intervals for coherency and phase.
线路类型的一致性和相位的置信区间。
参数:main
overall title for the plot. If missing, a suitable title is constructed.
图的总冠军。如果缺失,构建一个合适的标题。
参数:sub
a sub title for the plot. Only used for plot.type = "marginal". If missing, a description of the smoothing is used.
子标题为图。仅plot.type = "marginal"。如果丢失,使用平滑的描述。
参数:plot.type
For multivariate time series, the type of plot required. Only the first character is needed.
多变量时间序列,图类型的需要。只有第一个字符是必要的。
参数:ylim, ...
Graphical parameters.
图形参数。
参见----------See Also----------
spectrum
spectrum
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|