Cthreshold(wavethresh)
Cthreshold()所属R语言包:wavethresh
Calls C code to threshold wd class object.
阈值WD类对象中调用C代码。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A routine that calls a C code function to do thresholding. This is really a test routine to call a C thresholding function (Cthreshold) and the user is advised to use the R based generic thresholding function threshold and/or its methods as they contain a wider range of thresholding options.
一个例程调用C代码的功能做阈值。这的确是一个测试程序中调用C的阈值的功能(Cthreshold)和它们包含了更广泛的阈值选项,建议用户使用R基于通用阈值函数threshold和/或它的方法。
用法----------Usage----------
Cthreshold(wd, thresh.type = "soft", value = 0, levels = 3nlevels(wd) - 1))
参数----------Arguments----------
参数:wd
The wavelet object that you wish to threshold.
小波的对象,你想阈值。
参数:thresh.type
The type of thresholding. This can be "soft" or "hard". See threshold and methods for further details.
阈值的类型。这可以是“软”或“硬”。 threshold和方法,为进一步的细节。
参数:value
The threshold value that you want to be used (e.g. for hard thresholding wavelet coefficients whose absolute value is less than
要使用(例如硬阈值的小波系数绝对值小于阈值
参数:levels
The resolution levels that you wish to compute the threshold on and apply the threshold to.
分辨率级别,你想计算阈值和应用的阈值。
Details
详细信息----------Details----------
For general use it is recommended to use the threshold functions as they have a wider variety of options and also work for more complex varieties of wavelet transforms (i.e. non-decimated, complex-valued, etc). However, in the right, limited, situation this function can be useful. This function directly calls the C thresholding function Cthreshold(). The C function is used by routines that operate on behalf of the function that carries out two-fold cross validation in C (CWCV) which is also accessible using the policy="cv" option too threshold.wd
对于一般的使用建议使用threshold功能,因为他们有更广泛的选择,也适用于更复杂的品种的小波变换(即非元气大伤,复值等)。但是,正确的,有限的,情况此功能是有用的。这个函数直接调用C阈值函数Cthreshold的()。使用C函数例程操作的功能进行了2倍交叉验证,这是C(CWCV)也可使用policy="cv"选项threshold.wd的代表
This function can be used by the user. It might be a bit faster than threshold.wd but mostly because it is simpler and does less checking than threshold.wd.
此功能可以由用户使用的。这可能是一个有点快threshold.wd但主要是因为它是简单的,但检查比threshold.wd。
值----------Value----------
A wd.object class object, but containing thresholded coefficients.
Awd.object类的对象,但包含阈值的系数。
(作者)----------Author(s)----------
G P Nason
参见----------See Also----------
threshold
threshold
实例----------Examples----------
#[]
# See copious examples in the help to threshold.wd[很多例子的帮助threshold.wd]
#[]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|