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

R语言 sphet包 read.gwt2dist()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 15:15:33 | 显示全部楼层 |阅读模式
read.gwt2dist(sphet)
read.gwt2dist()所属R语言包:sphet

                                        Read distance ojbects
                                         读取距离ojbects

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

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

The function reads "GWT" files (i.e. generated using distance. It will read also other more general formats (as for example .txt files).
该功能可以读取文件“长城科技”(即使用距离。它会读取也有其他更普遍的格式(例如txt文件)。


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


read.gwt2dist(file, region.id=NULL, skip=1)



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

参数:file
name of file to be read
要读取的文件的名称


参数:region.id
variable that defines the ordering of the observations  
变量定义的排序的观测


参数:skip
skip number of lines
跳过的行数


Details

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

The first line of a 'GWT' file generally contains some information (e.g. the name of the shape file, the number of observations), in which case, skip should be equal to 1. When the file has a 'GWT' extension, the number of observations is generally retrived from the first line. Alternatively, it is fixed to the length of the unique region.id variable.   
一般一个'GWT'文件的第一行包含了一些信息(例如shape文件的名称,若干意见),在这种情况下,skip应该等于1。当file'GWT'扩展,观测的数量一般是从第一线征象。或者,它是固定的独特的region.id变量的长度。


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

An object of class distance.
对象的类distance。


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


Gianfranco Piras <a href="mailto:gpiras@mac.com">gpiras@mac.com</a>



实例----------Examples----------


## Not run: dist&lt;-read.gwt2dist(file='knn10columbus.GWT', region.id=POLYID)[#不运行区<read.gwt2dist(文件“knn10columbus.GWT的,region.id = POLYID)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 21:33 , Processed in 0.029906 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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