Learn R Programming

spatstat.geom (version 3.6-0)

is.na.solist: Identify Missing Entries in a List of Spatial Objects

Description

Given a list of spatial objects (of class "solist"), this function returns a logical vector specifying which entries of the list are missing.

Usage

# S3 method for solist
is.na(x)

Arguments

Value

A logical vector with the same length as x.

Details

This function returns a logical vector with the same length as the list x, with the value TRUE in each position where the corresponding entry in the list is missing.

An entry x[[i]] is deemed to be missing if it is an object of class "NAobject" (representing a missing object of a particular class in the spatstat package family).

See Also

NAobject

Examples

Run this code
  B <- solist(cells, NA, cells)
  B[[2]]
  is.na(B)
  V <- solist(cells, Window(cells), NAobject("im"))
  is.na(V)

Run the code above in your browser using DataLab