build_design_matrix: Build the design matrix

Description Usage Arguments Value

View source: R/model_fitting.R

Description

Build the design matrix

Usage

1
build_design_matrix(metadata, metadata.diet = NULL)

Arguments

metadata

metadata data.frame associated with the data phyloseq object

metadata.diet

metadata data.frame parsed from separate diet and climate data

Value

matrix with observation time (days), diet PCs, and climate (rainfall and max temp) covariates


kimberlyroche/ROL documentation built on Dec. 10, 2020, 2:18 a.m.