Description Usage Arguments Value Examples
Ensure that the input has at least two dimensions.
1 | atleast_2d(x)
|
x |
An R object, for example a vector, matrix, array, or data frame. |
The same object, but with a "dim"
attribute.
1 2 3 | x <- 1:10
x
atleast_2d(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.