PosBinFilter(SigWinR)
PosBinFilter()所属R语言包:SigWinR
Bin filter
滨过滤器
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function meant as in input filter to Rigeogram or RigeoPic to generate Rigeograms of non-regularly sampled data. Filter a sequence sampled at arbitrary positions to generate samples at regular intervals which can serve as input to Rigeogram() or Ridges().
功能意味着在输入滤波器Rigeogram或RigeoPic非定期采样数据生成Rigeograms。过滤取样的序列,在任意的位置,以产生以规则的时间间隔,可以作为输入到Rigeogram()或脊()的样品。
用法----------Usage----------
PosBinFilter(x, y, steps)
参数----------Arguments----------
参数:x
The positions of the samples
的样本的位置
参数:y
The sample values
的采样值
参数:steps
The number of values in the new sequence
在新的序列的值的数目
值----------Value----------
The function returns a list of length steps. The signal is approximated over the range of values in x in bins equal length. For each bin the median value of the sample values found in the bin is calculated. If no signal values are found in the interval the mean value of the bins containing values is inserted.
该函数返回一个列表的长度steps。该信号被近似在x的值的范围,在箱长度相等的。对于各bin中的样值的中值,发现在bin计算。如果没有信号值的时间间隔中被发现的桶包含值的平均值被插入。
注意----------Note----------
This one possible way to achieve a regular sampling. More elaborate and clever methods might be needed in specific situations.
这一种可能的方式,实现了经常性抽样。在特定情况下,可能需要更详细和更聪明的方法。
(作者)----------Author(s)----------
Wim de Leeuw <w.c.deLeeuw@uva.nl>
参见----------See Also----------
Ridgeogram()
Ridgeogram()
实例----------Examples----------
x <- rnorm(300,sd=3)
plot(PosBinFilter(x,sin(x),50),t="l")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|