sk_make | R Documentation |
This constructs a "sk" object from a named list containing at least the element gdim
or gyx
. Users can optionally provide other list elements gres
, gval
, crs
, is_obs
,
and idx_grid
.
sk_make(g)
g |
list with any of the seven named arguments mentioned above ( |
Input classes and lengths are checked before returning. gdim
and gres
are length-2
vectors (with y and x elements) but they can each be specified by a single number, as
shorthand to use the same value for y and x. gval
should be a matrix or vector of grid
data, and crs
should be a character string (the WKT representation).
a "sk" object
# auto-print reminds users to validate
sk_make(list(gdim=10, gres=0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.