mean_trend_beta_vec: Create beta vector for 'mean_trend' for all functional forms

Description Usage Arguments Value

View source: R/mean_trend.R

Description

Create beta vector for mean_trend for all functional forms

Usage

1
mean_trend_beta_vec(form, beta, IP, timepoints)

Arguments

form

character value specifying the type of time trend. Options include 'linear', 'quadratic', 'cubic', 'M', 'W', 'L_up', and 'L_down'.

beta

vector specifying the appropriate parameters for functional trend. See details of mean_trend for explanation for each form

IP

vector specifying the inflection points. See details of mean_trend for explanation for each form

timepoints

numeric vector specifying the points to fit the functional trend.

Value

Vector with beta values used to create mean_tend


microbiomeDASim documentation built on Nov. 8, 2020, 10:58 p.m.