polynomial: Polynomial curve function for nlme

Description Usage Arguments Details

Description

Logistic function used in fitting nlme curve for observations

Usage

1
polynomial(dat, y, time, degree, raw = TRUE, params = NULL, ...)

Arguments

dat

subject data to be used

y

outcome variable

time

time variable

degree

degree of polynomial

raw

Boolean, use raw polynomials?

params

NULL unless user wants to specify starting parameters for gnls

...

just in case

Details

It's recommended that one uses raw polynomials for this function for numerical stability. As inference is not performed on the parameters themselves, this should have minimial consequences

y ~ mini + (peak - mini) / (1 + exp(4 * slope * (cross - (time)) / (peak - mini)))


bdots documentation built on March 27, 2021, 9:07 a.m.