Learn R Programming

snapKrig (version 0.0.2)

is.na.sk: Indices of grid points with missing data (NAs)

Description

Returns a logical vector indicating which grid points have NA values assigned

Usage

# S3 method for sk
is.na(x)

Value

a logical vector the same length as x

Arguments

x

a sk object

Examples

Run this code
g = sk_validate(list(gval=stats::rnorm(4^2), gdim=4, gres=0.5))
g[c(1,3)] = NA
is.na(g)

Run the code above in your browser using DataLab