calcWindowSizes | R Documentation |
Calculates the sizes of a set of windows based on their lower and upper coordinates of each dimension. Can be applied to detection and habitat windows.
calcWindowSizes(lowerCoords, upperCoords)
lowerCoords |
Matrix of lower x- and y-coordinates of all windows. One row for each window. |
upperCoords |
Matrix of upper x- and y-coordinates of all windows. One row for each window. |
A vector of window sizes.
Wei Zhang
lowerCoords <- matrix(c(0, 0, 1, 0, 0, 1, 1, 1), nrow = 4, byrow = TRUE) upperCoords <- matrix(c(1, 1, 3, 1, 1, 4, 3, 4), nrow = 4, byrow = TRUE) calcWindowSizes(lowerCoords, upperCoords)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.