panel.densityplot(lattice)
panel.densityplot()所属R语言包:lattice
Default Panel Function for densityplot
为densityplot默认面板功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This is the default panel function for densityplot.
这是densityplot的默认面板功能。
用法----------Usage----------
panel.densityplot(x, darg, plot.points = "jitter", ref = FALSE,
groups = NULL, weights = NULL,
jitter.amount, type, ...,
identifier = "density")
参数----------Arguments----------
参数:x
data points for which density is to be estimated
数据点的密度估计
参数:darg
list of arguments to be passed to the density function. Typically, this should be a list with zero or more of the following components : bw, adjust, kernel, window, width, give.Rkern, n, from, to, cut, na.rm (see density for details)
要传递给density函数的参数列表。通常情况下,这应该是一个与零个或多个下列组件列表:bw,adjust,kernel,window,width,give.Rkern。 ,n,from,to,cut,na.rm(见density详情)
参数:plot.points
logical specifying whether or not the data points should be plotted along with the estimated density. Alternatively, a character string specifying how the points should be plotted. Meaningful values are "rug", in which case panel.rug is used to plot a "rug", and "jitter", in which case the points are jittered vertically to better distinguish overlapping points.
逻辑指定是否应绘制数据点估计密度。另外,字符串指定如何点应绘制。有意义的值是"rug",在这种情况下panel.rug用于绘制一个地毯,和"jitter",在这种情况下,点抖动垂直,以更好地分辨重叠点。
参数:ref
logical, whether to draw x-axis
逻辑,是否绘制x轴
参数:groups
an optional grouping variable. If present, panel.superpose will be used instead to display each subgroup
一个可选的分组变量。如果存在,panel.superpose将用来代替显示每个分组
参数:weights
numeric vector of weights for the density calculations. If this is specified, the ... part must also include a subscripts argument that matches the weights to x.
数字密度计算权重向量。如果这是指定的,...的一部分,还必须包括一个subscriptsx参数匹配的权重。
参数:jitter.amount
when plot.points="jitter", the value to use as the amount argument to jitter.
当plot.points="jitter",使用参数amountjitter值。
参数:type
type argument used to plot points, if requested. This is not expected to be useful, it is available mostly to protect a type argument, if specified, from affecting the density curve.
type参数用于积点,如果要求。这不是预期是有用的,它是可用的,大多是保护type参数,如果指定的密度曲线的影响,。
参数:...
extra graphical parameters. Note that additional arguments to panel.rug cannot be passed on through panel.densityplot.
额外的图形参数。注意panel.rug额外的参数不能被通过,通过panel.densityplot。
参数:identifier
A character string that is prepended to the names of grobs that are created by this panel function.
一个字符串,前面的名称,由本面板功能创建的grobs。
作者(S)----------Author(s)----------
Deepayan Sarkar <a href="mailtoeepayan.Sarkar@R-project.org">Deepayan.Sarkar@R-project.org</a>
参见----------See Also----------
densityplot, jitter
densityplot,jitter
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|