display_faces: Chernoff faces tour path animation.

Description Usage Arguments Details See Also Examples

View source: R/display-faces.r

Description

Animate a nD tour path with Chernoff's faces. Can display up to 18 dimensions.

Usage

1
2
3

Arguments

...

other arguments passed on to animate

data

matrix, or data frame containing numeric columns

tour_path

tour path generator, defaults to 2d grand tour

Details

This function requires the TeachingDemos package to draw the Chernoff faces. See faces2 for more details.

See Also

animate for options that apply to all animations

Examples

1
2
3
4
5
6
# The drawing code is fairly slow, so this animation works best with a
# limited number of cases
animate_faces(flea[1:2, 1:6])
animate_faces(flea[1:4, 1:6])

animate_faces(flea[1:2, 1:6], grand_tour(5))

nspyrison/tourr documentation built on Aug. 29, 2019, 2:56 a.m.