找回密码
 注册
查看: 558|回复: 0

R语言 geneplotter包 multiecdf()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 18:56:04 | 显示全部楼层 |阅读模式
multiecdf(geneplotter)
multiecdf()所属R语言包:geneplotter

                                        Multiple empirical cumulative distribution functions (ecdf) and densities
                                         多经验的累积分布函数(厄立特里亚社区发展基金)和密度

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Plot multiple empirical cumulative distribution functions (ecdf) and densities with a user interface similar to that of boxplot. The usefulness of multidensity is variable, depending on the data and because of smoothing artifacts. multiecdf will in many cases be preferable. Please see Details.
图多个经验累积分布函数(厄立特里亚社区发展基金)和密度与用户界面类似boxplot。的multidensity有用是可变的,根据数据,因为平滑文物。 multiecdf会在许多情况下,可取的。请参阅详情。


用法----------Usage----------


multiecdf(x, ...)
## S3 method for class 'formula'[类formula的方法]
multiecdf(formula, data = NULL, xlab, na.action = NULL, ...)
## S3 method for class 'matrix'
multiecdf(x, xlab, ...)
## S3 method for class 'list'
multiecdf(x,
          xlim,
          col = brewer.pal(9, "Set1"),
          main = "ecdf",
          xlab,
          do.points = FALSE,
          subsample = 1000L,
          legend = list(
            x = "right",
            legend = if(is.null(names(x))) paste(seq(along=x)) else names(x),
            fill = col),
          ...)

multidensity(x, ...)
## S3 method for class 'formula'[类formula的方法]
multidensity(formula, data = NULL, xlab, na.action = NULL, ...)
## S3 method for class 'matrix'
multidensity(x, xlab, ...)
## S3 method for class 'list'
multidensity(x,
             bw = "nrd0",
             xlim,
             ylim,
             col  = brewer.pal(9, "Set1"),
             main = if(length(x)==1) "density" else "densities",
             xlab,
             lty  = 1L,
             legend = list(
               x = "topright",
               legend = if(is.null(names(x))) paste(seq(along=x)) else names(x),
               fill = col),
             ...)



参数----------Arguments----------

参数:formula
a formula, such as y ~ grp, where y is a numeric vector of data values to be split into groups according to the grouping variable grp (usually a factor).
如配方,y ~ grp,其中y是一个数字数据值向量分裂成组根据分组变量grp(通常是一个因素)。


参数:data
a data.frame (or list) from which the variables in formula should be taken.
数据框(或列表)变量formula应采取的。


参数:na.action
a function which indicates what should happen when the data contain NAs.  The default is to ignore missing values in either the response or the group.
一个函数,它表示数据时,包含NA的,应该发生什么。默认是忽略缺失值,无论是在响应或组。


参数:x
methods exist for: formula, matrix, data.frame, list of numeric vectors.
方法存在:formula,matrix,data.frame,list数字向量。


参数:bw
the smoothing bandwidth, see the manual page for density. The length of bw needs to be either 1 (in which case the same is used for all groups) or the same as the number of groups in x (in which case the corresponding value of bw is used for each group).
平滑的带宽,看到density的手册页。 bw需要为1(在这种情况下,同样是用于所有组)或作为x(组数相同的长度在这种情况下相应的值<X >每个组使用)。


参数:xlim
Range of the x axis. If missing, the data range is used.
x轴的范围。如果丢失,使用的数据范围。


参数:ylim
Range of the y axis. If missing, the range of the density estimates is used.
y轴的范围。如果丢失,使用密度估计的范围。


参数:col, lty
Line colors and line type.
线颜色和线型。


参数:main
Plot title.
图称号。


参数:xlab
x-axis label.
X轴标签。


参数:do.points
logical; if TRUE, also draw points at the knot locations.
逻辑;如果TRUE,也画点在结位置。


参数:subsample
numeric or logical of length 1. If numeric, and larger than 0, subsamples of that size are used to compute and plot the ecdf for those elements of x with more than that number of observations. If logical and TRUE, a value of 1000 is used for the subsample size.
长度为1的数字或逻辑。如果数字大于0,该大小的子样本被用来计算和绘制这些元素x比若干意见厄立特里亚社区发展基金。如果逻辑和TRUE,价值1000用于子样本大小。


参数:legend
a list of arguments that is passed to the function legend.  
列表中的参数传递函数legend。


参数:...
Further arguments that get passed on to the plot functions.
进一步的参数被传递到plot功能。


Details

详情----------Details----------

The choice of the smoothing bandwidths in multidensity can be problematic, in particular, if the different groups vary with respect to range and/or number of data points. If curves look excessively wiggly or overly smooth, try varying the arguments xlim and bw; note that the argument bw can be a
multidensity平滑带宽的选择是有问题的,特别是,如果不同群体的不同方面的范围和/或数据点的数量。如果曲线看起来过度蠕动或过于光滑,尝试不同的参数xlim和bw;注意该参数bw可以是一个


值----------Value----------

For the multidensity functions, a list of
对于multidensity功能,列表


作者(S)----------Author(s)----------


Wolfgang Huber



参见----------See Also----------

boxplot, ecdf, density
boxplot,ecdf,density


举例----------Examples----------


  words = strsplit(packageDescription("geneplotter")$Description, " ")[[1]]
  factr = factor(sample(words, 2000, replace = TRUE))
  x = rnorm(length(factr), mean=as.integer(factr))
  
  multiecdf(x ~ factr)
  multidensity(x ~ factr)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-7 20:18 , Processed in 0.030617 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表