powered by
Render frames of animation to disk
render(data, tour_path, display, dev, ..., apf = 1/10, frames = 50, rescale = TRUE, sphere = FALSE, start = NULL)
matrix, or data frame containing numeric columns
tour path generator
the method used to render the projected data, e.g. display_xy, display_pcp
display_xy
display_pcp
name of output device to use (e.g. png, pdf)
png
pdf
other options passed to output device
angle (in radians) per frame
number of frames in output
if true, rescale all variables to range [0,1]
if true, sphere all variables
starting projection. If NULL, uses path default.
NULL
Hadley Wickham, Dianne Cook, Heike Hofmann, Andreas Buja (2011). tourr: An R Package for Exploring Multivariate Data with Projections. Journal of Statistical Software, 40(2), 1-18. http://www.jstatsoft.org/v40/i02/.
# NOT RUN { render(flea[, 1:4], grand_tour(), display_xy(), "pdf", "test.pdf") render(flea[, 1:4], grand_tour(), display_xy(), "png", "test-%03d.png") # }
Run the code above in your browser using DataLab