element | R Documentation |
Returns the element of x
specified by i
.
element(x, i)
x |
Array of arbitrary dimensionality. |
i |
Vector of the same length as |
Friedrich Leisch
Extract
x <- array(1:20, dim=c(2,5,2))
element(x, c(1,4,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.