form_beta_check {microbiomeDASim}R Documentation

Beta Specification Check

Description

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

Usage

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.


[Package microbiomeDASim version 1.6.0 Index]