powered by
Returns a logical vector indicating which grid points have NA values assigned
# S3 method for sk is.na(x)
a logical vector the same length as x
a sk object
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