as.double.sk | R Documentation |
This also adds support for as.numeric
## S3 method for class 'sk'
as.double(x, ...)
x |
a sk object |
... |
further arguments to as.double |
an "sk" object with numeric data values
g = sk_validate(list(gval=sample(c(FALSE, TRUE), 4^2, replace=TRUE), gdim=4, gres=0.5))
g[]
as.numeric(g)[]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.