is.na.solist {spatstat.geom}R 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 Baddeley Adrian.Baddeley@curtin.edu.au and Ege Rubak rubak@math.aau.dk.

See Also

NAobject

Examples

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

[Package spatstat.geom version 3.5-0 Index]