findSegments(tilingArray)
findSegments()所属R语言包:tilingArray
Fit a piecewise constant curve to a sequence of numbers –
适合一个数字序列分段常数曲线 -
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is only here for backward compatibility - please use segment.
此功能仅用于向后兼容 - 请使用segment。
The function fits a piecewise constant curve to a sequence of numbers using a simple least squares cost function and the dynamic programming algorithm described by Picard et al. (see reference).
适合的功能,以一个数字序列分段常数曲线,用一个简单的最小二乘代价函数和动态规划算法皮卡德等。 (见参考文献)。
用法----------Usage----------
findSegments(x, maxcp, maxk, verbose=TRUE)
参数----------Arguments----------
参数:x
Numeric (real) vector.
数字(实际)向量。
参数:maxcp
Integer (length 1): maximum number of segments (= 1 + maximum number of change points).
整数(长度为1)段的最大数量(= 1 +变化点的最大数量)。
参数:maxk
Integer (length 1): maximum length of a segment.
整数(长度为1)段的最大长度。
参数:verbose
Logical: if this parameter has a positive value, various diagnostic output is printed.
逻辑:如果此参数具有积极的价值,各种诊断输出打印。
Details
详情----------Details----------
The complexity of the algorithm is length(x)*maxk in memory and
该算法的复杂性是length(x)*maxk内存中的
值----------Value----------
An object of class "segmentation" A list with elements
一个对象的类"segmentation"一个元素列表
参数:J
likelihood criterion
似然准则
参数:th
matrix of segment start points
段起点的矩阵
参数:dat
the data used for the segmentation
为分割使用的数据
参数:call
the function call </table>
函数调用</ TABLE>
.
。
See the vignette, and the paper cited below for details.
看到小插曲,下面列举了详细的文件。
注意----------Note----------
This function is depracated and replaced by function segment, but still included for backward compability.
此功能depracated功能segment,但仍然落后compability的包括更换。
作者(S)----------Author(s)----------
W. Huber <a href="mailto:huber@ebi.ac.uk">huber@ebi.ac.uk</a>, Joern Toedling
<a href="mailto:toedling@ebi.ac.uk">toedling@ebi.ac.uk</a>
参考文献----------References----------
Franck Picard, Stephane Robin, Marc Lavielle, Christian Vaisse, Gilles Celeux, Jean-Jacques Daudin, Rapport de recherche No. 5139, Mars 2004, Institut National de Recherche en Informatique et en Automatique (INRIA), ISSN 0249-6399. The code of this function is based on the Matlab implementation presented at http://www.inapg.fr/ens_rech/mathinfo/recherche/mathematique/outil.html,
举例----------Examples----------
x = rep( sin((0:4)/2*pi), each=3) + rnorm(3*5, sd=0.1)
res = findSegments(x, maxcp=6, maxk=15)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|