get_trajectory_df: Pull collection date-aligned trajectories from a given host's...

View source: R/visuals.R

get_trajectory_dfR Documentation

Pull collection date-aligned trajectories from a given host's prediction set

Description

Pull collection date-aligned trajectories from a given host's prediction set

Usage

get_trajectory_df(
  dates,
  coord,
  common_baseline,
  predictions,
  center = NULL,
  mean_only = FALSE
)

Arguments

dates

named list of dates in YYYY-MM-DD format indexed by host short name

coord

index of taxon

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.