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

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

[复制链接]
发表于 2012-9-30 14:21:23 | 显示全部楼层 |阅读模式
knnGraph(spa)
knnGraph()所属R语言包:spa

                                         Convert a data matrix to a K-NN graph or epsilon graph
                                         数据矩阵转换到一个K-NN图形的或ε图

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

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

These functions are designed to convert data sets or distance matrices to graphs.  
这些功能设计用于将数据集或距离矩阵图形。


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


knnGraph(x, k = 5, weighted = TRUE, dist = FALSE, ...)
epsGraph(x, eps = 0.2, weighted = TRUE, dist=FALSE, ...)



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

参数:x
the data matrix, if dist=TRUE then x is a distance matrix
数据矩阵,如果dist= TRUE,则x是距离矩阵


参数:k
the number of neighbors for a knn graph  
邻居的KNN图


参数:eps
size of fixed radius
固定半径的大小


参数:weighted
if TRUE the graph will be weighted.  Note if TRUE use floyd for shortest path distance otherwise use fastDist.
如果为true,将加权图。请注意,如果真正使用floyd的最短路径以其他方式使用fastDist。


参数:dist
when dist=TRUE then x is a distance matrix
时区= TRUE,则x是一个距离矩阵


参数:...
Extra parameters for the daisy(...) method
菊花的额外参数(...)方法


Details

详细信息----------Details----------

The daisy function in cluster library is used primarily due to its speed and reliability.  
菊花功能主要用于在聚类库,由于其速度和可靠性。


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

<table summary="R valueblock"> <tr valign="top"><td>g </td> <td> A graph made from data x or distance matrix as input.</td></tr> </table>
<table summary="R valueblock"> <tr valign="top"> <TD> g </ TD> <td>一个图形数据x或距离矩阵作为输入。</ TD> </ TR> </ TABLE>


注意----------Note----------

This command relies on the cluster library
此命令依赖于聚类库


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


Mark Culp



参考文献----------References----------


M. Culp (2011). spa: A Semi-Supervised R Package for Semi-Parametric Graph-Based Estimation. Journal of Statistical Software, 40(10), 1-29. URL http://www.jstatsoft.org/v40/i10/.


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

spa knnGraph epsGraph
spaknnGraphepsGraph

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 02:25 , Processed in 0.020939 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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