IP_form_check: Inflection point check for 'mean_trend'

Description Usage Arguments Value

View source: R/mean_trend.R

Description

Inflection point check for mean_trend

Usage

1
IP_form_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.

Value

Updated inflection point vector


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