as.integer.bk | R Documentation |
Coerce grid values to integer
## S3 method for class 'bk'
as.integer(x, ...)
x |
a bk object |
mode |
passed to as.vector |
a "bk" object with integer data values
g = bk_validate(list(gval=rnorm(4^2), gdim=4, gres=0.5))
g[]
as.integer(g)[]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.