Description Usage Arguments Value Examples
Logistic model for the parametric nonlinear mixed effects model (nlme) procedure
1 | logistft(theta1, theta2, theta3, logage)
|
theta1 |
a scale parameter, which determines steepness of the logistic model. |
theta2 |
a parameter for an inflection point. |
theta3 |
a parameter, which determines the maximum (asymptote) of the logistic model. |
logage |
a vector of time points (log-scaled ages), which is generated around |
a vector of response variables under the deterministic logistic model, whose length is the same as the length of logage
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(HDChangePoint)
## Specify parameters
theta1=6;
theta2=0;
theta3=1;
## Specify the time points (log-scaled ages)
logage<-seq(-0.5, 0.5, by=0.1)
## Obtain a vector of response variables when parametric NLME assumes the logistic model
logit.ft<-logistft(6, 0, 1, logage)
## Plot the S-shaped curve under the logistic model
plot(logage, logit.ft, type='l')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.