is.multitype.ppp(spatstat)
is.multitype.ppp()所属R语言包:spatstat
Test Whether A Point Pattern is Multitype
测试点模式是否是多类型,
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Tests whether a point pattern has “marks” attached to the points which classify the points into several types.
测试点模式是否有“标记”分类分为好几种类型的点。
用法----------Usage----------
## S3 method for class 'ppp'
is.multitype(X, na.action="warn", ...)
参数----------Arguments----------
参数:X
Point pattern (object of class "ppp")
点模式(类的对象"ppp")
参数:na.action
String indicating what to do if NA values are encountered amongst the marks. Options are "warn", "fatal" and "ignore".
字符串,表示做什么,如果NA遇到之间的商标。选项"warn","fatal"和"ignore"。
参数:...
Ignored.
忽略。
Details
详细信息----------Details----------
“Marks” are observations attached to each point of a point pattern. For example the longleaf dataset contains the locations of trees, each tree being marked by its diameter; the amacrine dataset gives the locations of cells of two types (on/off) and the type of cell may be regarded as a mark attached to the location of the cell.
“标志”是连接到每个点的点模式的意见。例如longleaf数据集包含的树木的位置,它的直径被标记每个树;amacrine数据集给出了两种类型的单元(开/关)的位置和类型的单元可以是视为连接到的小区的位置的标记。
This function tests whether the point pattern X contains or involves marked points, and that the marks are a factor. It is a method for the generic function is.multitype.
此功能测试点模式是否X包含或涉及打上点,和标记的一个因素。这是一个方法的通用函数is.multitype。
For example, the amacrine dataset is multitype (there are two types of cells, on and off), but the longleaf dataset is not multitype (the marks are real numbers).
例如,amacrine数据集是多类型(有两种类型的单元,开启和关闭),但longleaf的数据集多类型(该商标是实数)。
The argument na.action determines what action will be taken if the point pattern has a vector of marks but some or all of the marks are NA. Options are "fatal" to cause a fatal error; "warn" to issue a warning and then return TRUE; and "ignore" to take no action except returning TRUE.
确定采取什么行动,如果点模式具有矢量标记,但部分或全部的标志是na.actionNA的参数。选项是"fatal"造成一个致命的错误,"warn"到发出警告,然后返回TRUE和"ignore"不采取任何动作,只是返回TRUE。
值----------Value----------
Logical value, equal to TRUE if X is a multitype point pattern.
逻辑值,等于TRUE的X是一个多类型的模式。
(作者)----------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----------
is.multitype, is.multitype.ppm
is.multitype,is.multitype.ppm
实例----------Examples----------
data(cells)
is.multitype(cells) #FALSE - no marks[FALSE - 没有商标]
data(longleaf)
is.multitype(longleaf) #FALSE - real valued marks[FALSE - 真正有价值的标记]
data(amacrine)
is.multitype(amacrine) #TRUE[TRUE]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|