Animate a nD tour path with Chernoff's faces. Can display up to 18 dimensions.
display_faces(...)
animate_faces(data, tour_path = grand_tour(3), ...)other arguments passed on to animate
matrix, or data frame containing numeric columns
tour path generator, defaults to 2d grand tour
This function requires the TeachingDemos package to draw the
Chernoff faces. See faces2 for more details.
animate for options that apply to all animations
# The drawing code is fairly slow, so this animation works best with a
# limited number of cases
animate_faces(flea[1:2, 1:6])
#> Converting input data to the required matrix format.
animate_faces(flea[1:4, 1:6])
#> Converting input data to the required matrix format.
animate_faces(flea[1:2, 1:6], grand_tour(5))
#> Converting input data to the required matrix format.