Learn R Programming

chronosphere (version 0.4.1)

is.na.SpatialArray: Positions of missing values in a SpatialArray object

Description

The function behaves similar to the regular is.na() function applied to the proxy object of a RasterArray.

Usage

# S3 method for SpatialArray
is.na(x)

Value

A logical

vector, matrix or array matching the structure of the RasterArray.

Arguments

x

A RasterArray class object.

Examples

Run this code
data(coasts)
coasts[2,1] <- NA
is.na(coasts)

Run the code above in your browser using DataLab