View source: R/display-stars.r
display_stars | R Documentation |
Animate a nD tour path with star glyphs.
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
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.