Description Usage Arguments Details Value Author(s) See Also Examples
size is a utility function which determines the dimensions of vectors
(coerced to matrices), matrices, arrays, data.frames, and list elements.
1 |
x |
A R object. |
n |
A integer indicating the dimension of interest. |
size is a wrapper function around dim. It returns the n^th
dimension of x if n is provided. If n is not provide,
all dimensions will be determined. If x is a list, n is ignored
and the dimensions of all elements of x are recursively determined.
Returns a vector or list of dimensions.
Sebastien Bihorel (sb.pmlab@gmail.com)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.