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

R语言 graph包 distGraph-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 21:07:29 | 显示全部楼层 |阅读模式
distGraph-class(graph)
distGraph-class()所属R语言包:graph

                                        Class "distGraph"
                                         类“distGraph”

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

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

A class definition for graphs that are based on distances.
一种基于距离的图形类的定义。


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("distGraph", ...).
创建对象可以通过检测的形式new("distGraph", ...)。


插槽----------Slots----------




Dist: Object of class "dist" that forms the
Dist:"dist"类的对象,形成了


延伸----------Extends----------

Class "graph", directly.
类"graph",直接。


方法----------Methods----------




show signature(object = "distGraph"): a print method
显示signature(object = "distGraph"):打印方法




Dist signature(object = "distGraph"): return the dist
区signature(object = "distGraph"):返回区




adj signature(object = "distGraph"): find the nodes
形容词signature(object = "distGraph"):找到节点




nodes signature(object = "distGraph"): return the
节点signature(object = "distGraph"):返回




numNodes signature(object = "distGraph"): return the
numNodessignature(object = "distGraph"):返回




threshold signature(object = "distGraph", k, value): set all distances that are larger than the supplied threshold, k, to the  supplied value. The default is value is zero (and so is appropriate for
阈值signature(object = "distGraph", k, value):设置大于所提供的阈值,所有的距离k,所提供的值。默认值是零(所以是适当的




initialize signature(object = "distGraph"):
初始化signature(object = "distGraph"):




edgeWeights Return a list of edge weights in a list format
edgeWeights返回列表格式的边权重列表




edgeL signature(graph = "distGraph"): A method for
edgeLsignature(graph = "distGraph")方法:


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


R. Gentleman



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

<h3>See Also</h3>

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


   set.seed(123)
   x <- rnorm(26)
   names(x) <- letters
   library(stats)
   d1 <- dist(x)
   g1 <- new("distGraph", Dist=d1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 18:19 , Processed in 0.023811 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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