Function reference
-
brokenstick()
- Fit a
brokenstick
model to irregular data
-
coef(<brokenstick>)
- Extract Model Coefficients from brokenstick Object
-
fitted(<brokenstick>)
- Calculate fitted values
-
plot(<brokenstick>)
- Plot observed and fitted trajectories by group
-
predict(<brokenstick>)
- Predict from a
brokenstick
model
-
print(<brokenstick>)
- Print brokenstick object
-
residuals(<brokenstick>)
- Extract residuals from brokenstick model
-
summary(<brokenstick>)
- Create summary of brokenstick object
Helper functions
Functions to set algorithmic options for model fitting or to extract components of the fitted object.
-
control_kr()
- Set controls for Kasim-Raudenbush sampler
-
get_knots()
- Obtain the knots from a broken stick model
-
get_omega()
- Extract Variance and Correlation Components
-
get_r2()
- Obtain proportion of explained variance from a broken stick model
-
parse_formula()
- Parse formula for brokenstick model
Numerical functions
Functions that perform the necessary calculations for the broken stick model. Not designed to be called directly.
-
EB()
- Empirical Bayes predictor for random effects
-
kr()
- Kasim-Raudenbush sampler for two-level normal model
-
make_basis()
- Create linear splines basis
-
plot_trajectory()
- Plot observed and fitted trajectories from fitted brokenstick model
-
set_control()
- Set controls to steer calculations
-
brokenstick-class
- Class
brokenstick
-
brokenstick-pkg
- brokenstick: A package for irregular longitudinal data.
-
smocc_200
- Infant growth of 0-2 years, SMOCC data extract
-
fit_200
- Broken stick model with nine lines for 200 children
-
fit_200_light
- Broken stick model with nine lines for 200 children (light)
-
weightloss
- Weight loss self-measurement data