View source: R/historyofearth.R
Create an array of animated maps, where the rows are taxa and the columns periods. "all" and "none" are possible taxa, and "all" is a possible period
1 2 3 4 5 6 | CacheAnimatedMaps(start_time = NULL, stop_time = NULL,
periods = NULL, taxa = GetTaxa(), step_size = 1,
age_df = GetAgeDF(), specimen_df = specimens, interval = 0.5,
use_cached_maps_only = TRUE, use_phylopics = FALSE,
point_color = "red", gif_name = NULL, single_frame = FALSE,
MaximumAnimate = FALSE)
|
start_time |
The time of the first frame of the animation |
stop_time |
The time of the last frame of the animation before it starts looping back |
periods |
A vector of period names, capitalized properly (can be left blank) |
taxa |
A vector of taxon names (can be left blank) |
step_size |
How many million years to take in a single step |
age_df |
Data.frame of ages, typically from GetAgeDF() |
specimen_df |
Cached fossil localities and times |
interval |
How many seconds per frame |
use_cached_maps_only |
If TRUE, only uses the maps already in the package, rather than pulling from gplates |
use_phylopics |
If TRUE, use phylopic images; otherwise, use dots |
point_color |
If just plotting points, what color |
gif_name |
Path to gif, including its name |
single_frame |
If TRUE, just does a single frame. It picks the best time. |
MaximumAnimate |
If TRUE, animate everything. If false, static maps for taxa |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.