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

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

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

                                        Read Point Pattern From Data File
                                         从数据文件中读取点模式

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

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

Reads a point pattern dataset from a text file.
从一个文本文件中读取一个点模式数据。


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


   scanpp(filename, window, header=TRUE, dir="", multitype=FALSE)



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

参数:filename
String name of the file containing the coordinates of the points in the point pattern, and their marks if any.  
字符串的文件,其中包含的点图案中的点的坐标,以及,如果没有其商标名称。


参数:window
Window for the point pattern. An object of class "owin".  
点模式的窗口。对象的类"owin"。


参数:header
Logical flag indicating whether the first line of the file contains headings for the columns. Passed to read.table.  
逻辑标志,指示该文件的第一行中是否包含的列的标题。传递到read.table。


参数:dir
String containing the path name of the directory in which filename is to be found. Default is the current directory.  
String,其中包含的目录中filename是被发现的路径名。默认是当前目录。


参数:multitype
Logical flag indicating whether marks are to be interpreted as a factor (multitype = TRUE) or as numerical values (multitype = FALSE).  
逻辑标志指示是否被解释为一个因素(multitype = TRUE),或作为数值(multitype = FALSE)马克。


Details

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

This simple function reads a point pattern dataset from a file containing the cartesian coordinates of its points, and optionally the mark values for these points.
这个简单的函数读取点的图案从它的点在直角坐标系中的一个文件,其中包含的数据集,还可以选择这些点的标记值。

The file identified by filename in directory dir should be a text file that can be read using read.table. Thus, each line of the file (except possibly the first line) contains data for one point in the point pattern. Data are arranged in columns. There should be either two columns (for an unmarked point pattern) or three columns (for a marked point pattern).
文件确定的filenamedir应该是一个文本文件,可以通过使用read.table。因此,每一行的文件(除了可能的第一行)包含的点图案中的一个点的数据。数据被布置在列中。无论是两列(未标记的点模式)或三列(一个显着的点模式)。

If header=FALSE then the first two columns of data will be interpreted as the x and y coordinates of points. A third column, if present, will be interpreted as containing the marks for these points. The marks will be converted to a factor if multitype = TRUE.
如果header=FALSE然后在前两列的数据将被解释为x和y点的坐标。第三列,如果存在的话,将被解释为包含这些点的标记。标记将被转换为一个因素,如果multitype = TRUE。

If header=TRUE then the first line of the file should contain string names for each of the columns of data. If there are columns named x and y then these will be taken as the cartesian coordinates, and any remaining column will be taken as the marks. If there are no columns named x and y then the first and second columns will be taken as the cartesian coordinates.
如果header=TRUE然后该文件的第一行包含字符串名称的列的数据。如果有列名为x和y,那么这些将作为直角坐标系,将被视为该商标的任何其余列。如果有没有列名为x和y然后第一列和第二列将被视为直角坐标系。

Note that there is intentionally no default for window. The window of observation should be specified. If you really need to estimate the window, use the Ripley-Rasson estimator ripras.
注意有故意没有默认值window。应指定的窗口观察。如果你确实需要估计的窗口,使用的里普利,Rasson的估计ripras。


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

A point pattern (an object of class "ppp", see ppp.object).
点模式(类的一个对象"ppp",看到ppp.object)。


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


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>




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

ppp.object, ppp, as.ppp, ripras
ppp.object,ppp,as.ppp,ripras

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-18 04:00 , Processed in 0.025744 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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