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<-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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|