View source: R/display-depth.r
display_depth | R Documentation |
Suggestion to use gray background and colour saturation (instead of gray shading) by Graham Wills.
display_depth(center = TRUE, half_range = NULL, ...)
animate_depth(data, tour_path = grand_tour(3), ...)
center |
should projected data be centered to have mean zero (default: TRUE). This pins the centre of the data to the same place, and makes it easier to focus on the shape. |
half_range |
half range to use when calculating limits of projected. If not set, defaults to maximum distance from origin to each row of data. |
... |
other arguments passed on to |
data |
matrix, or data frame containing numeric columns |
tour_path |
tour path generator, defaults to 2d grand tour |
animate
for options that apply to all animations
animate_depth(flea[, 1:6])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.