Description Usage Arguments Details
kinda.<type>(x) returns whether 'x' can be coerced without error or warning to <type> using as.<type>(x).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | kinda.type(x, FUN)
kinda.logical(x)
kinda.integer(x)
kinda.numeric(x)
kinda.character(x)
kinda.vector(x)
kinda.factor(x)
kinda.matrix(x)
kinda.array(x)
kinda.data.frame(x)
kinda.formula(x)
kinda.list(x)
|
x |
An R object. |
FUN |
A function of the form as.<type> (e.g. as.logical, as.matrix) that tries to coerce x to <type>. |
Be careful using these! Make sure they're doing exactly what you expect, as some functions are pretty lenient in their coercion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.