segment(cn.mops)
segment()所属R语言包:cn.mops
Performs a fast segmentation algorithm based on the cyber t test
基于网络t检验执行快速分割算法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Performs a fast segmentation algorithm based on the cyber t test and the t statistics.
执行快速分割算法,基于网络的t检验和t统计。
用法----------Usage----------
segment(x, alpha = 0.05, segMedianT = 0, minSeg = 3,
eps = 0, delta = 20, maxInt = 40, squashing = 0,
cyberWeight = 50, segPlot = TRUE, ...)
参数----------Arguments----------
参数:x
Values to be segmented.
值分割。
参数:alpha
Real value between 0 and 1 is interpreted as the percentage of total points that are considered as initial breakpoints. An integer greater than 1 is interpreted as number of initial breakpoints. Default = 0.05.
百分比总积分作为初始断点认为被解释为0和1之间的真正价值。一个大于1的整数被解释为初始断点数目。默认值= 0.05。
参数:segMedianT
Vector of length 2. Thresholds on the segment's median. Segments' medians above the first element are considered as gains and below the second value as losses.
向量的长度为2。阈值段的中位数。分部“中位数以上的第一个元素被视为收益及以下作为第二个值亏损。
参数:minSeg
Minimum length of segments. Default = 3.
段的最小长度。默认值为3。
参数:eps
Real value greater or equal zero. A breakpoint is only possible between to consecutive values of x that have a distance of at least "eps". Default = 0.
真正的价值大于或等于零。断点是唯一可能的“EPS”至少有一个距离x的连续值之间。默认值= 0。
参数:delta
Positive integer. A parameter to make the segmentation more efficient. If the statistics of a breakpoint lowers while extending the window, the algorithm extends the windows by "delta" more points until it stops. Default = 20.
正整数。一个参数,以使分割更有效。如果一个断点的统计数字降低,同时延长窗口,算法的扩展,多点“Delta”的窗口,直到它停止。默认值= 20。
参数:maxInt
The maximum length of a segment left of the breakpoint and right of the breakpoint that is considered. Default = 40.
断点断点被认为有权留下了段的最大长度。默认值= 40。
参数:squashing
An experimental parameter that squashes the values "x" before segmentation. Should be left to zero, which means that squashing is not performed. Default = 0.
南瓜实验参数值“X”之前分割。应留给为零,这意味着不进行压片。默认值= 0。
参数:cyberWeight
The "nu" parameter of the cyber t-test. Default = 50.
“女”的网络T-测试参数。默认值= 50。
参数:segPlot
Logical indicating whether the result of the segmentation a algorithm should be plotted. Default = TRUE.
逻辑指示是否应绘制算法的分割结果。默认= TRUE。
参数:...
additional parameters passed to the plotting function.
额外的参数传递给绘图功能。
值----------Value----------
A data frame containing the segments.
一个数据框包含段。
作者(S)----------Author(s)----------
Guenter Klambauer <a href="mailto:klambauer@bioinf.jku.at">klambauer@bioinf.jku.at</a>
举例----------Examples----------
x <- rnorm(n=500,sd=0.5)
x[150:200] <- rnorm(n=51,mean=3,sd=0.5)
segment(x)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|