display_dist: 1d distribution tour path animation.

Description Usage Arguments Details See Also Examples

Description

1d distribution tour path animation.

Usage

1
display_dist(method="density", center=TRUE, ...)

Arguments

method

display method, histogram or density plot

center

should 1d projection be centered to have mean zero (default: TRUE). This pins the centre of distribution to the same place, and makes it easier to focus on the shape of the distribution.

...

other arguments passed on to animate

Details

Animate a 1d tour path with a density plot or histogram.

See Also

animate for options that apply to all animations

Examples

1
2
3
4
5
6
7
8
animate_dist(flea[, 1:6])

# When the distribution is not centred, it tends to wander around in a 
# distracting manner
animate_dist(flea[, 1:6], center = FALSE)

# Alternatively, you can display the distribution with a histogram
animate_dist(flea[, 1:6], method = "hist")

tourr documentation built on May 2, 2019, 5:28 p.m.

Related to display_dist in tourr...