get_paired_trajectories: Pull a collection date-aligned trajectories for a pair of...

View source: R/visuals.R

get_paired_trajectoriesR 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())

Description

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())

Usage

get_paired_trajectories(
  dates,
  coord1,
  coord2,
  host,
  common_baseline,
  predictions,
  center = NULL,
  mean_only = FALSE
)

Arguments

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


kimberlyroche/rulesoflife documentation built on May 7, 2023, 11:08 a.m.