SaveMovie: This function converts a 3D tree plot into an animated gif,...

Description Usage Arguments Details Value Author(s) See Also

View source: R/phrapl-plot.R

Description

Uses the animation package to save a series of images as a population history rotates, then stitches them to form an animated gif.

Usage

1
SaveMovie(total.revolutions = 1, duration = 10, save.dir = NULL)

Arguments

total.revolutions

How many full rotations to take.

duration

How long should the movie be, in seconds?

save.dir

Where should the final movie be saved?

Details

This will require the animation package as well as ImageMagick or GraphicsMagick. It could be modified to create Quicktime or Flash movies instead.

Value

This will create an animated gif in the specified folder.

Author(s)

Brian O'Meara

See Also

PlotModel, ~~~


phrapl documentation built on May 2, 2019, 4:52 p.m.