NAobject | R Documentation |
Create a object which represents a missing or unavailable object of a particular class in the spatstat package family.
NAobject(cls)
cls |
Character string specifying a class. |
This function creates an object which represents a missing or unavailable object belonging to one of the classes in the spatstat package family.
For example NAobject("ppp")
creates an object which inherits
the classes "NAobject"
and "ppp"
, and effectively
represents a point pattern dataset that is missing or unavailable.
Typical uses of NA objects include simulation algorithms (where the algorithm may sometimes fail to produce a result) and designed experiments (where data may be missing for some of the experimental cases).
An NA object can be recognised by is.NAobject
.
NA entries in a hyperframe can be recognised by
is.na.hyperframe
.
NA entries in a spatial object list can be recognised by
is.na.solist
.
An object belonging to the classes "NAobject"
and cls
.
and \ege.
is.NAobject
,
is.na.hyperframe
,
is.na.solist
.
NAobject("tess")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.