whichMonotonic(simsem)
whichMonotonic()所属R语言包:simsem
Extract a part of a vector that is monotonically increasing or decreasing
中提取的一部分的矢量是单调地增加或减少
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract a part of a vector that is monotonically increasing or decreasing. This function will go to the anchor value and extract the neighbor values that are monotonically increasing or decreasing.
中提取的一部分的一个向量是单调地增加或减少。此功能会去的锚定值和提取的邻居值是单调递增或递减的。
用法----------Usage----------
whichMonotonic(vec, ord=NULL, anchor=NULL)
参数----------Arguments----------
参数:vec
The target vector to be extracted
要提取的目标矢量
参数:ord
The names of each element of the vector to be attached
要附加的矢量的每个元素的名称
参数:anchor
The position of the element to be anchored. The default value is the middle position.
锚定位置的元素。默认值是中间的位置。
值----------Value----------
The monotonic part of a vector
一个向量的单调一部分
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
实例----------Examples----------
# This is a private function.[这是一个私人的功能。]
# whichMonotonic(c(3, 4, 1, 2, 3, 5, 2, 1))[whichMonotonic(三(3,4,1,2,3,5,2,1))]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|