Description Usage Arguments Value Note Examples
View source: R/dimcalculations.R
Calculates multidimentsional index from linear
1 | dim_calc(wanted, diml)
|
wanted |
linear index |
diml |
vector of usually 3 dimensions describing dimension size |
vector of multidimensional index
can work with arbritary dimensions, but typically uses three
this function does not check whether the final index is in range of the final dimension, it simply wraps around.
internally uses zero based index for calculation
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.