anyNA.sk: Check for presence of grid points with missing data (NAs)

View source: R/sk_methods.R

anyNA.skR Documentation

Check for presence of grid points with missing data (NAs)

Description

Returns a logical indicating if any of the grid points are NA

Usage

## S3 method for class 'sk'
anyNA(x, recursive)

Arguments

x

a sk object

recursive

ignored

Value

logical

Examples

g = sk_validate(list(gval=stats::rnorm(4^2), gdim=4, gres=0.5))
anyNA(g)
g[1] = NA
anyNA(g)


snapKrig documentation built on May 31, 2023, 6:34 p.m.