plot_sample(RMAWGEN)
plot_sample()所属R语言包:RMAWGEN
It makes a plot by sampling (monthly,etc) the variables x and y
它使一个图采样(每月等)的变量x和y
译者:生物统计家园网 机器人LoveR
描述----------Description----------
It makes a plot by sampling (monthly,etc) the variables x and y
它使得图由采样(每月等)的变量x和y
用法----------Usage----------
plot_sample(x,
y = normalizeGaussian_severalstations(x = as.data.frame(x), data = as.data.frame(data), origin_x = origin_x, origin_data = origin_data, sample = sample, step = step, prec = prec)[, 1],
xlim = range(x, na.rm = TRUE),
legend_position = "topleft",
ylim = range(y, na.rm = TRUE), pch = 1, col = 1,
col_max = 0.9, col_min = 0.1, origin, sample = NULL,
xhist = hist(x, breaks = breaks, plot = FALSE),
yhist = hist(y, breaks = breaks, plot = FALSE),
axes = FALSE, step = NULL, prec = 1e-04, breaks = 50,
origin_x = origin, origin_data = origin, data = x,
xlab = "", ylab = "", color = FALSE, gray = TRUE,
sort = FALSE, valmin_x = valmin, valmin_y = valmin,
valmin = -9999, abline = c(0, 1), ...)
参数----------Arguments----------
参数:x
vector of input data
的输入数据的矢量
参数:y
vector of second input data. Default is normalizeGaussian_severalstations(x=as.data.frame(x),data=as.data.frame(data),origin_x=origin_x,origin_data=origin_data,sample=sample,step=step,prec=prec)[,1]
第二输入数据的矢量。默认是normalizeGaussian_severalstations(x=as.data.frame(x),data=as.data.frame(data),origin_x=origin_x,origin_data=origin_data,sample=sample,step=step,prec=prec)[,1]
参数:xlim,ylim,xlab,ylab
see plot.default (Graphic)
请参阅plot.default(图文)
参数:legend_position
legend position. Default is "topleft". See legend.
传说中的位置。默认是"topleft"。见legend。
参数:pch
integer single or multi values for pch (see plot.default). Default is 1.
整数的单个或多个值pch(见plot.default“)。默认值是1。
参数:col
integer single or multi values for col (see plot.default). Default is 1.
整数的单个或多个值col(见plot.default“)。默认值是1。
参数:col_max
maximum value for color scale to apply to rainbow or rainbow. Utilized if col is not a vector and both gray or color are TRUE. Default is 0.9 .
最大值为色标适用于rainbow或rainbow。利用col如果是不是一个向量,两个gray或color是TRUE。默认值是0.9。
参数:col_min
minimum value for color scale to apply to rainbow or rainbow. Utilized if col is not a vector and both gray or color are TRUE. Default is 0.1 .
适用于rainbow或rainbow颜色规模的最低值。利用col如果是不是一个向量,两个gray或color是TRUE。默认值是0.1。
参数:origin
date of the first row of x. See normalizeGaussian_severalstations.
日期x的第一行。见normalizeGaussian_severalstations。
参数:sample
string character containg informatio how to sample x and y. Default is NULL. If NULL no sampling is done.see normalizeGaussian_severalstations. Only NULL or "monthly" options are implemented.
字符串字符containg的资料如何品尝x和y。默认值是NULL。如果NULL没有采样done.see的normalizeGaussian_severalstations。只有NULL或"monthly"选项来实现。
参数:xhist
frequency histogram for x. Default is hist(x,breaks=breaks,plot=FALSE). If it is NULL, no marginal histograms appear.
频率直方图x。默认是hist(x,breaks=breaks,plot=FALSE)。如果是NULL,无边际的直方图显示。
参数:yhist
frequency histogram for y. Default is hist(y,breaks=breaks,plot=FALSE). If it is NULL, no marginal histograms appear. =hist(y,breaks=breaks,plot=FALSE),
频率直方图y。默认是hist(y,breaks=breaks,plot=FALSE)。如果是NULL,无边际的直方图显示。 =历史(Y,截断截断,图= FALSE),
参数:axes
see barplot
看到barplot
参数:step,prec
see normalizeGaussian_severalstations
看到normalizeGaussian_severalstations
参数:breaks
see hist
看到hist
参数:origin_x
see normalizeGaussian_severalstations. Default value is set equal to origin.
看到normalizeGaussian_severalstations。默认值等于origin的。
参数:origin_data
normalizeGaussian_severalstations. Default value is set equal to origin.
normalizeGaussian_severalstations。默认值等于origin的。
参数:data
normalizeGaussian_severalstations. Default value is set equal to x.
normalizeGaussian_severalstations。默认值等于x的。
参数:color
logical value. If TRUE and if col is unspecified, a color scale is applied according to col_min and col_max (see rainbow). Default is FALSE.
逻辑值。如果TRUE和col是不确定的,色标是根据col_min和col_max(见rainbow)。默认是FALSE。
参数:gray
logical value. If TRUE and if col is unspecified, a color scale is applied according to col_min and col_max (see gray). Default is TRUE.
逻辑值。如果TRUE和col是不确定的,色标是根据col_min和col_max(见gray)。默认是TRUE。
参数:sort
logical value. If TRUE, x and y are sorted and a Q-Q plot is presented. Deafault is FALSE.
逻辑值。如果TRUE,x和y排序的QQ图。 Deafault是FALSE。
参数:valmin_x
numerical threshold value over which the variable x is plotted. It is enabled only if sort is set TRUE.
数字阈值变量x绘制。它启用了,只有sort设置TRUE。
参数:valmin_y
numerical threshold value over which the variable y is plotted. It is enabled only if sort is set TRUE.
数字阈值变量y绘制。它启用了,只有sort设置TRUE。
参数:valmin
numerical threshold value for valmin_y and valmin_x if there are not specified.
数值阈值valmin_y和valmin_x“”如果没有指定。
参数:abline
arguments for abline function. Default is c(0,1). If it is NULL, abline is disabled and not called.
参数abline功能。默认是c(0,1)。如果是NULL,abline被禁用,而不是叫。
参数:...
see graphical parametes on plot.default
看到图形parametes上plot.default
值----------Value----------
0 in case of success
0在成功的情况下
注意----------Note----------
It makes a plot betwee x and y and shows thair respective probibilty histograms. If y is missing, it is automatically calculated as one-dimensional Gaussianization of x through the function normalizeGaussian_severalstations.
它的图betwee x和y和显示的相对各自的probibilty直方图。如果y丢失,它会自动计算一维高斯化的x的功能normalizeGaussian_severalstations通过。
参见----------See Also----------
plot.default,extractmonths, see normalizeGaussian_severalstations
plot.default,extractmonths,看到normalizeGaussian_severalstations
实例----------Examples----------
library(RMAWGEN)
data(trentino)
plot_sample(x=TEMPERATURE_MIN$T0090,sample="monthly",origin="1958-1-1",axes=FALSE,xlab="Tn [ degC]",ylab="x")
set.seed(123456)
z <- rexp(10000,rate=0.5)
x <- normalizeGaussian(x=z,data=z)
plot_sample(x=z,xlab="z",ylab="x")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|