Compute range of axes for a tour
compute_half_range(.data, center = TRUE)| .data | A numeric matrix |
|---|---|
| center | Subtract |
A numeric vector of length 1.
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.