Description Usage Arguments Details Value Author(s) Examples
View source: R/ArrayPosition2ArrayCoordinates.R
Simply returns the coordinates for the Nth value in an array.
1 | ArrayPosition2ArrayCoordinates(Position, ArrayDimensions)
|
Position |
The number of the Nth value in the array (an integer). |
ArrayDimensions |
A vector of integers giving the dimensions of the array. |
Depending on different criteria N tips will produce a specific number of trees.
A vector the same length as ArrayDimensions
giving the coordinates.
Graeme T. Lloyd graemetlloyd@gmail.com
1 2 3 | # Get the coordinates of the 17th value in a
# 2 by 4 by 6 array:
ArrayPosition2ArrayCoordinates(17, c(2,4,6))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.