Find the value of one vector relative to a value of another vector by interpolation
查找的值的一个矢量相对另一个向量的值,通过内插
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Find the value of the resulting vector that have the position similar to the value of the baseline vector. If the starting value in the baseline vector is in between two elements, the resulting value will be predicted by linear interpolation.
查找得到的向量,有类似的基线向量的值的位置的值。如果在基线向量的初始值是在两个元件之间,所得到的值将通过线性插值来预测。
用法----------Usage----------
interpolate(baselineVec, val, resultVec=NULL)
参数----------Arguments----------
参数:baselineVec
The target vector to be used as a baseline. The resulting vector can be attached as the element names of this vector.
要使用的目标矢量作为基线。将所得的向量可以附加作为此向量的元素名称。
参数:val
The value relative to the baseline vector to be used for projecting the resulting value
要用于突出所得到的值的基线向量的值相对
参数:resultVec
The vector that the resulting value will be used to base their result form
所产生的价值将被用于基础的结果形式的向量,
值----------Value----------
The interpolated value from the resulting vector relative to the value in the baseline vector
从所得的矢量相对的插补值的基线向量的值
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)