get_paired_trajectories | R Documentation |
Pull a collection date-aligned trajectories for a pair of taxa from a given host's prediction set (list returned by get_predictions_host_list())
get_paired_trajectories(
dates,
coord1,
coord2,
host,
common_baseline,
predictions,
center = NULL,
mean_only = FALSE
)
dates |
named list of dates in YYYY-MM-DD format indexed by host short name |
coord1 |
index of taxon 1 |
coord2 |
index of taxon 2 |
host |
host short name |
common_baseline |
earliest date to use for all hosts (YYYY-MM-DD format) |
predictions |
named list of predicted (interpolated) Eta matrices indexed by host short name |
center |
center to use for taxa (e.g. 0) |
mean_only |
return mean rather than quantiles |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.