form_beta_check: Beta Specification Check

Description Usage Arguments Value

View source: R/mean_trend.R

Description

Function for checking that the appopriate beta parameters are specified for each of the mean trend specifications

Usage

1
form_beta_check(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.

@keywords internal

Value

Nothing returned unless an error is returned.


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