plotTsTile(wq)
plotTsTile()所属R语言包:wq
Image plot of monthly time series
图片的月度时间序列图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Monthly values are transformed into deciles or other bins, and corresponding colors are plotted in a month by year matrix.
每月的值被变换成十分位数或其他箱,并绘制相应的颜色在年份矩阵一个月。
用法----------Usage----------
plotTsTile(x, plot.title = NULL, legend.title = NULL, four = TRUE,
loganom = TRUE, square = TRUE, legend = TRUE, trim = TRUE)
参数----------Arguments----------
参数:x
monthly time series.
月度时间序列。
参数:plot.title
plot title.
图称号。
参数:legend.title
legend title.
图例标题。
参数:four
logical indicating if data should be binned into 4 special groups or into deciles.
逻辑表明如果数据应分级为4个特殊群体或到十分位。
参数:loganom
logical indicating if data should be transformed into log-anomalies.
逻辑表明如果数据转化为log异常。
参数:square
logical indicating if tiles should be square.
逻辑表明,如果瓷砖应为正方形。
参数:legend
logical indicating if a legend should be included.
逻辑指示是否应包括一个传说。
参数:trim
logical indicating if leading and trailing NA values should be removed.
逻辑表明,如果开头和结尾的NA值应该被删除。
Details
详细信息----------Details----------
If four = TRUE, then x is first divided into a positive and negative bin. Each bin is then further divided into two bins by its mean, yielding a total of four bins. If four=FALSE, then x is simply divided into deciles. In either case, each bin has its own assigned color, with colors ranging from dark blue (smallest numbers) through light blue and pink to red.
如果four = TRUE,那么x首先分为积极和消极的垃圾桶。其平均每一个垃圾桶,然后进一步分为两个垃圾桶,共产生四个箱。如果four=FALSE,那么x简单地分为十等分组别。在这两种情况下,各bin中有它自己的指定的颜色,从深蓝色(最小号码)通过浅蓝色和粉红色到红色的颜色范围。
Although four = TRUE can be useful for any data in which 0 represents a value with special significance, it is especially so for data converted into log-anomalies, i.e., log10(x)/mean(x, na.rm=TRUE). The mean month then has value 0, and a value of -1, for example, indicates original data equal to one-tenth the mean. Log-anomaly transforms can be particularly appropriate for biological populations, in which variability is often approximately proportional to the mean.
虽然four = TRUE可以是有用的,其中0代表具有特殊意义的值的任何数据,尤其是对转换成log异常的数据,即,log10(x)/mean(x, na.rm=TRUE)。然后,在平均的一个月中具有值0,和-1的值,例如,表示等于十分之一的平均的原始数据。登陆异常的变换可以是特别适合于生物种群,其中变异往往是大致正比于均值。
You may want to set square = FALSE and then adjust the plot window manually if you plan to use the plot in a subsequent layout or if there is too much white space.
您可能希望设置square = FALSE,然后手动调整图形窗口,如果你打算使用的图,在后续的布局,或者如果有太多的空白。
值----------Value----------
An image plot of monthly values classified into either deciles or into four bins as described above (and corresponding object of class “ggplot”).
每月分为任一十分位数的值或分为四个箱如上所述(和相应的对象的类“ggplot”)的一种图像图。
注意----------Note----------
When loganom = TRUE, the anomalies are calculated with respect to the overall mean month. This differs from, for example, the log-anomaly zooplankton plot of O'Brien et al. (2008), in which a monthly anomaly is calculated with respect to the mean value of the same month.
当loganom = TRUE,异常计算的整体平均月。这不同于,例如,log异常OBrien等浮游动物图。 (2008),在其中相对于相同的一个月中的平均值计算每月异常。
参考文献----------References----------
实例----------Examples----------
# plot log-anomalies in four bins[图登录异常的4箱]
chl27 = sfbayChla[, 's27']
plotTsTile(chl27, legend.title = 'Chl log-anomaly')
# plot deciles[图十分位数]
plotTsTile(chl27, plot.title = 'SF Bay station 27', legend.title =
'chlorophyll', four = FALSE, loganom = FALSE, square = FALSE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|