ndim | R Documentation |
Functions to count the subdimensions of an MAgPIE-object
ndim(x, dim = NULL)
x |
A MAgPIE-object |
dim |
main dimension in which the sub-dimensions should be counted. If NULL the sum of all subdimensions is returned |
Number of subdimensions
Jan Philipp Dietrich
a <- maxample("animal")
ndim(a)
ndim(a,1)
ndim(a,2)
ndim(a,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.