Animate a nD tour path with star glyphs.

display_stars(...)

animate_stars(data, tour_path = grand_tour(3), ...)

Arguments

...

other arguments passed on to stars

data

matrix, or data frame containing numeric columns

tour_path

tour path generator, defaults to 2d grand tour

Details

Currently, scaling doesn't seem to be computed absolutely correctly, as centres move around as well as outside points.

See also

animate for options that apply to all animations

Examples

animate_stars(flea[1:10, 1:6])
#> Converting input data to the required matrix format.


animate_stars(flea[1:10, 1:6], grand_tour(5))
#> Converting input data to the required matrix format.


animate_stars(flea[, 1:6], grand_tour(5))
#> Converting input data to the required matrix format.


animate_stars(flea[1:10, 1:6], grand_tour(5),
  col.stars = rep("grey50", 10), radius = FALSE
)
#> Converting input data to the required matrix format.