is.NAobject | R Documentation |
Recognises whether an object is an NA object (representing a missing or unavailable object in the spatstat package family).
is.NAobject(x)
x |
An object. |
This function recognises whether an object is a missing or unavailable object belonging to one of the classes in the spatstat package family.
In spatstat, a missing or unavailable object of class
"foo"
is represented by an object that inherits
the classes "foo"
and "NAobject"
.
For any object x
, the command
is.NAobject(x)
will return TRUE
if
x
is a missing or unavailable object, and FALSE
otherwise.
A single logical value.
and \ege.
NAobject
A <- NAobject("ppp")
is.NAobject(A)
X <- solist(cells, NA, cells)
is.NAobject(X[[2]])
sapply(X, is.NAobject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.