Description Usage Arguments Examples
View source: R/analysis_fit_traj.R
Apply trajectory fitting to each subject in a dataset
1 2 | fit_all_trajectories(dat, fit, xg = NULL, checkpoints = 365 * c(1:2),
z_bins = -2)
|
dat |
a data frame containing data for several subjects or a data frame with one row per subject, as obtained from |
fit |
an object returned from |
xg |
grid of x points at which the fit should be evaluated for plotting (if |
checkpoints |
x values at which to compute "checkpoints" of the subjects's growth trajectory to compare to other subjects |
z_bins |
a vector indicating binning of z-scores for the subject's trajectory at each checkpoint with respect to the the WHO growth standard |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.