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

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

[复制链接]
发表于 2012-2-26 15:36:40 | 显示全部楼层 |阅读模式
segmentation(tilingArray)
segmentation()所属R语言包:tilingArray

                                         The class segmentation represents a segmentation result.
                                         类的分割,分割结果。

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

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

This class represents the result of a segmentation, usually a call to the function segment.
这个类表示一个分割的结果,通常是调用函数segment。


类的对象----------Objects from the Class----------

Objects can be created by calls of the function segment or by calls of the form new("segmentation", ...).
对象可以创建功能segment检测或通过检测的形式new("segmentation", ...)。


插槽----------Slots----------




y: A matrix with the data (the dependent variable(s)), see segment.
y:一个数据矩阵(因变量(S)),看到segment。




x: A numeric vector with the regressor variable. The length of this vector must be either the same as nrow(y), or 0. The latter case is equivalent to
x:一个数值向量回归量变量。这个向量的长度必须是一样nrow(y),或0。后者的情况下,相当于




flag: An integer vector, whose length must be either the same as nrow(y), or 0. This can be used to flag certain probes for special treatment, for example by
flag:一个整数向量,其长度必须是为nrow(y)相同,或0。这可以用来标记某些特殊待遇的探针,例如,




breakpoints: List of segmentations. The element breakpoints[[j]] corresponds to a segmentation fit of j segments, i.e. with j-1 breakpoints. It is a matrix with (j-1) rows and 1 or 3 columns. It always contains a column named estimate with the point estimates. Optionally, it may contain columns lower and upper with the confidence intervals. The point estimates are the row indices in y where new segments start, for example: let z=breakpoints[[j]], then the first segment is from row 1 to z[1, "estimate"]-1, the second from row z[1, "estimate"] to
breakpoints:区隔名单。元素breakpoints[[j]]对应与j断点j-1段,即分割合适。这是一个(j-1)行和1或3列的矩阵。它始终包含一列名为estimate点估计。另外,它可能包含列lower和upper置信区间。点估计是y在那里开始新的细分市场,例如:让z=breakpoints[[j]],然后从行的第一部分是1z[1, "estimate"]-1,第二行指数行z[1, "estimate"]




logLik: Numeric vector of the same length as breakpoints, containing the log-likelihood of the piecewise
logLik:breakpoints,包含log的可能性分段的长度相同的数字向量




hasConfint: Logical vector of the same length as breakpoints. TRUE if the confidence interval estimates are present, i.e. if the matrix breakpoints[[j]] has
hasConfint:breakpoints长度相同的逻辑向量。 TRUE,如果置信区间的估计,即如果矩阵breakpoints[[j]]有




nrSegments: A scalar integer, value must be either NA or between 1 and length(breakpoints). Can be used to select one of the fits in breakpoints for special treatment, for example by
nrSegments:一个标量整数,值必须为NA或1和length(breakpoints)。可以用来配合breakpoints特殊待遇,例如选择


方法----------Methods----------




confint The method confint(object, parm, level=0.95,         het.reg=FALSE, het.err=FALSE, ...) computes confidence intervals for the change point estimates of the segmentation. Typically, these were obtained from a previous call to the function segment that created the object. This is just a wrapper for the function confint.breakpointsfull from the strucchange package, which does all the hard computations. Parameters: object an object of class segmentation, parm an integer vector, it determines for which of the segmentation fits confidence intervals are computed. See also segment. The other parameters are directly passed on to confint.breakpointsfull.
confint的方法confint(object, parm, level=0.95,         het.reg=FALSE, het.err=FALSE, ...)计算分割的变点估计的置信区间。通常情况下,获得了从以前的通话功能segment创建对象。这仅仅是一个包装函数confint.breakpointsfullstrucchange包,这确实很难计算。参数:object类对象segmentation,parm整数向量,它决定适合的分割,置信区间的计算。还可以看segment。其他参数直接传递到confint.breakpointsfull。




logLik The method logLik(object, penalty="none", ...) returns the log-likelihoods of fitted models. Valid values for the argument
logLik的方法logLik(object, penalty="none", ...)返回拟合模型的对数似然性。有效的参数值




plot The method plot(x, y, xlim, xlab="x", ylab="y",         bpcol="black", bplty=1, pch=16, ...) provides a simple visualization of the result of a segmentation. Parameters: x an object of class segmentation, y an integer between 1 and length(x@breakpoints), selecting which of the fits contained in x to plot, bpcol and bplty color and line type of breakpoints. The plot shows the numeric data
绘制方法plot(x, y, xlim, xlab="x", ylab="y",         bpcol="black", bplty=1, pch=16, ...)提供了一个简单的可视化分割的结果。参数:x类对象segmentation,y1和length(x@breakpoints),选择了适合包含在x之间的整数图,bpcol和bplty颜色和线条的断点类型。图中显示的数字数据




show summary.
显示摘要。


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


Wolfgang Huber <a href="mailto:huber@ebi.ac.uk">huber@ebi.ac.uk</a>



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

segment
segment


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


## generate random data with 5 segments:[#生成随机数据与5段:]
y = unlist(lapply(c(0,3,0.5,1.5,5), function(m) rnorm(10, mean=m)))

seg = segment(y, maxseg=10, maxk=15)
seg = confint(seg, parm=c(3,4,5))

if(interactive())
  plot(seg, 5)

show(seg)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 01:05 , Processed in 0.026796 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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