thresh(treethresh)
thresh()所属R语言包:treethresh
Perform thresholding according to a tree
根据树进行阈值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Thresholds according to a tree object of the classes
根据对象的类树阈值
用法----------Usage----------
thresh(object, data, C, postmed=TRUE)
thresh.treethresh(object, data, C, postmed=TRUE)
thresh.wtthresh(object, data, C, postmed=TRUE)
参数----------Arguments----------
参数:object
An object of the class treethresh or wtthresh according to which thresholding is to be carried out.
一个对象的类treethresh或wtthresh根据该阈值是被进行。
参数:data
The data to be thresholded. If object is of the class treethresh, then object has to be an array (or matrix) of exactly the same dimension as the data that was used to estimate object. If object is of the class wtthresh it has to be a list with elements of the same name and dimensions as the list that was used to estimate object. If no data object is given and if object is not estimated directly from the beta then the data used to estimate object is used.
的数据进行阈值。如果object类treethresh,然后object具有完全相同的维度是一个阵列(或矩阵)作为数据被用来估计object。如果object是类wtthresh它是一个被用来估计object的列表,列表中的元素相同的名称和尺寸。如果没有数据对象被赋予,和如果object还没有直接从beta估计的然后用于估计的数据object被使用。
参数:C
If C is given then the tree is pruned with constant C (see the help of prune for details on the pruning).
如果C树的修剪与不变C(prune修剪的详细信息,请参阅帮助)。
参数:postmed
If postmed=TRUE then the thresholding is done by returning the posterior median mu_i|X_i. If postmed=FALSE then hard thresholding is performed.
如果postmed=TRUE然后进行阈值的,返回后正中mu_i|X_i。如果postmed=FALSE然后进行硬阈值。
值----------Value----------
thresh returns the thresholded data.
thresh返回阈值data。
注意----------Note----------
thresh.treethresh and thresh.wtthresh should rarely be directly called by the user. The more user-friendly S3 function thresh will take care of calling the right function.
thresh.treethresh和thresh.wtthresh应该很少由用户直接调用。更加人性化的S3功能thresh会照顾调用正确的函数。
For an example of the use of thresh, see coefficients.
对于使用thresh的一个例子,请参阅coefficients。
参见----------See Also----------
treethresh, wtthresh, get.t, prune
treethresh,wtthresh,get.t,prune
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|