Description Usage Arguments Details Value Examples
Compute range of axes for a tour
1 | compute_half_range(.data, center = TRUE)
|
.data |
A numeric matrix |
center |
Subtract |
This function computes the maximum squared Euclidean distance of rows in a matrix like object. Mostly used internally for setting up xy-axis ranges for a tour animation.
A numeric vector of length 1.
1 2 3 4 5 | mv <- matrix(rnorm(300), ncol = 3)
compute_half_range(mv)
compute_half_range(mv, center = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.