Description Usage Arguments Examples
tourbrush
1 |
df |
a data frame |
aps |
angles per second |
palette |
an RColorBrewer palette |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
library(mvtnorm)
s <- matrix(c(1, .5, .5, .5, 1, .5, .5, .5, 1), ncol = 3)
m <- rmvnorm(500, sigma = s)
# take 1D slice of the 3D density
d <- setNames(data.frame(m), c("x", "y", "z"))
d$density <- dmvnorm(m)
tourbrush(d)
vars <- c("pitch_type", "start_speed", "spin_dir", "break_y",
"break_angle", "break_length")
tourbrush(yu[vars])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.