as.double.sk {snapKrig} | R Documentation |
Coerce grid values to numeric (double type)
Description
This also adds support for as.numeric
Usage
## S3 method for class 'sk'
as.double(x, ...)
Arguments
x |
a sk object |
... |
further arguments to as.double |
Value
an "sk" object with numeric data values
Examples
g = sk_validate(list(gval=sample(c(FALSE, TRUE), 4^2, replace=TRUE), gdim=4, gres=0.5))
g[]
as.numeric(g)[]
[Package snapKrig version 0.0.2 Index]