return the dimension of a vector x as c(length(x),1)
1 | vdim(x)
|
x |
the object to find the dimension of. Does exactly what vanilla R does if x is not a vector. If x is a vector, returns c(length(x),1). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.