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

View source: R/sk_methods.R

is.na.skR Documentation

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

Arguments

x

a sk object

Value

a logical vector the same length as x

Examples

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

snapKrig documentation built on July 4, 2026, 5:06 p.m.