predict_GP_mean: Predict mean trajectories (Lambda) for all CLR taxa in a...

View source: R/utility.R

predict_GP_meanR Documentation

Predict mean trajectories (Lambda) for all CLR taxa in a given host

Description

Predict mean trajectories (Lambda) for all CLR taxa in a given host

Usage

predict_GP_mean(
  fit = NULL,
  host = NULL,
  output_dir = NULL,
  interpolation = "linear"
)

Arguments

fit

an optional fitted model object

host

an optional host short name

output_dir

an optional model fit directory

interpolation

allowed values are "mean", "linear", or "none"

Details

Either 'fit' or 'host' and 'output_dir' must be provided. If all are provided, 'fit' overrides all. Note also: the runtime on this function is around 10s per host at the ASV-level.

Value

named list with inferred trajectories and time span


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