iclass | R Documentation |
iclass
determines the implicit class of a base type.
The code is taken from the great "Advanced R" by Hadley Wickham.
iclass(x)
x |
base type |
A vector describing the implicit class of 'x'.
Tomas Sieger
Wickham, Hadley. _Advanced R_. Available online at http://adv-r.had.co.nz/OO-essentials.html
iclass(matrix(1:5))
#> [1] "matrix" "integer" "numeric"
iclass(array(1.5))
#> [1] "array" "double" "numeric"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.