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

View source: R/solist.R

is.na.solistR Documentation

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 class 'solist'
is.na(x)

Arguments

x

A list of spatial objects (an object of class "solist").

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).

Value

A logical vector with the same length as x.

Author(s)

\adrian

and \ege.

See Also

NAobject

Examples

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

spatstat.geom documentation built on Aug. 8, 2025, 6:28 p.m.