Description Usage Arguments Details See Also Examples
View source: R/display-stars.r
Animate a nD tour path with star glyphs.
1 2 3 | display_stars(...)
animate_stars(data, tour_path = grand_tour(3), ...)
|
... |
other arguments passed on to |
data |
matrix, or data frame containing numeric columns |
tour_path |
tour path generator, defaults to 2d grand tour |
Currently, scaling doesn't seem to be computed absolutely correctly, as centres move around as well as outside points.
animate
for options that apply to all animations
1 2 3 4 5 | animate_stars(flea[1:10, 1:6])
animate_stars(flea[1:10, 1:6], grand_tour(5))
animate_stars(flea[, 1:6], grand_tour(5))
animate_stars(flea[1:10, 1:6], grand_tour(5),
col.stars = rep("grey50", 10), radius = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.