mean_trend_beta_vec {microbiomeDASim}R Documentation

Create beta vector for mean_trend for all functional forms

Description

Create beta vector for mean_trend for all functional forms

Usage

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


[Package microbiomeDASim version 1.4.0 Index]