找回密码
 注册
查看: 629|回复: 0

R语言 clst包 findThreshold()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 15:13:23 | 显示全部楼层 |阅读模式
findThreshold(clst)
findThreshold()所属R语言包:clst

                                         findThreshold
                                         findThreshold

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Identify a distance threshold predicting whether a pairwise distance represents a comparison between objects in the same class (within-group comparison) or different classes (between-group comparison) given a matrix providing distances between objects and the
确定一个距离阈值预测成对的距离是否代表了在同一类的对象之间的比较(组内比较)或不同类(组间比较)提供对象和之间的距离矩阵


用法----------Usage----------



findThreshold(dmat, groups, distances, method = "mutinfo", prob = 0.5,
              na.rm = FALSE, keep.dists = TRUE, roundCuts = 2, minCuts =
              20, maxCuts = 300, targetCuts = 100, verbose = FALSE,
              depth = 1, ...)

partition(dmat, groups, include, verbose = FALSE)



参数----------Arguments----------

参数:dmat
Square matrix of pairwise distances.
成对距离方阵。


参数:groups
Object coercible to a factor identifying group membership of objects corresponding to either edge of dmat.
对象强制转换的一个因素确定相应的要么dmat边缘的对象组成员。


参数:include
vector (numeric or boolean) indicating which elements to retain in the output; comparisons including an excluded element will have a value of NA
向量(数字或布尔)指出哪些元素保留在输出;包括排除的元素进行比较,将有一个NA值


参数:distances
Optional output of partition provided in the place of dmat and groups
partition可选输出提供了地方dmat和groups


参数:method
The method for calculating the threshold;  only 'mutinfo' is currently implemented.
阈值的计算方法;只有mutinfo“目前正在实施。


参数:prob
Sets the upper and lower bounds of <VAR>D</VAR> as some quantile of the within class distances and between-class differences, respectively.
设定上限和下限<VAR>,D </ VAR的一些类之间的距离和级内的差异,分别位数。


参数:na.rm
If TRUE, excludes NA elements in groups and corresponding rows and columns in dmat. Ignored if distances is provided.
如果是TRUE,不包括NA和相应的行和列在groupsdmat元素。如果distances提供被忽略。


参数:keep.dists
If TRUE, the output will contain the distances element (output of partition).
如果是TRUE,则输出将包含distances元素(输出partition)。


参数:roundCuts
Number of digits to round cutoff values (see Details)
圆临界值的数字编号(见详情)


参数:minCuts
Minimal length of vector of cutoffs (see Details).
截止矢量的最小长度(见详情)。


参数:maxCuts
Maximal length of vector of cutoffs (see Details)
截止向量的最大长度(见详情)


参数:targetCuts
Length of vector of cutoffs if conditions met by minCuts and maxCuts are not met (see Details).
截止矢量长度minCuts和maxCuts不符合(见详情)如果条件满足。


参数:verbose
Terminal output is produced if TRUE.
如果为TRUE端子输出产生。


参数:depth
Private argument used to track level of recursion.
私人参数用来跟踪递归级别。


参数:...
Extra arguments are ignored.
额外的参数将被忽略。


Details

详情----------Details----------

findThreshold is used internally in classify, but may also be used to calculate a starting value of $D$.
findThreshold内部使用classify,但也可能被用来计算$ D $的起始值。

partition is used to transform a square (or lower triangular) distance matrix into a data.frame containing a column of distances ($vals) along with a factor ($comparison) defining each distance as a within- or between-group comparison. Columns $row and $col provide indices of corresponding rows and columns of dmat.
partitiondata.frame包含一个栏的距离($vals)随着一个因素($comparison)定义每个转换成一个正方形(或下三角)的距离矩阵作为一个比较内或组间的距离。列$row和$col提供相应的行和列dmat指数。


值----------Value----------

In the case of findThreshold, output is a list with elements decsribed below. In the case of partition, output is the data.frame returned as the element named $distances in the output of findThreshold.
“在findThreshold的情况下,输出是一个与decsribed下面的列表元素。在partition的情况下,输出是data.frame返回名为$distances在findThreshold的输出的元素。


参数:D
The distance threshold (distance cutoff corresponding to the PMMI).
距离阈值(相应的PMMI的距离截止)。


参数:pmmi
Value of the point of maximal mutual information (PMMI)
价值点最大互信息(PMMI的)


参数:interval
A vector of length 2 indicating the upper and lower bounds over which values for the threshold are evaluated.
一个向量的长度2表示超过阈值的评估范围的上限和下限。


参数:breaks
A data.frame with columns x and y providing candidiate breakpoints and corresponding mutual information values, respectively.
列。一个“data.frame与x和y,提供candidiate断点和相应的互信息值,分别为。


参数:distances
If keep.distances is TRUE, a data.frame containing pairwise distances identified as within- or between classes.
keep.distances如果是TRUE,数据框包含成对距离内或类之间确定。


参数:method
Character corresponding to input argument method.
输入参数method相应的字符。


参数:params
Additional input parameters.
额外的输入参数。


作者(S)----------Author(s)----------



Noah Hoffman




参见----------See Also----------

plotDistances, plotMutinfo
plotDistances,plotMutinfo


举例----------Examples----------


data(iris)
dmat <- as.matrix(dist(iris[,1:4], method="euclidean"))
groups <- iris$Species
thresh <- findThreshold(dmat, groups, type="mutinfo")
str(thresh)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-13 14:57 , Processed in 0.027688 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表