BayesianPGMM-package | R Documentation |
Estimates a Bayesian piecewise growth mixture model with linear segments, for a given number of latent classes and a latent number of possible change points in each class. See [1] for the methodological details, and see ?BayesPGMM for details on the input and output.
Package: | BayesianPGMM-package |
Type: | Package |
Version: | 1.5 |
Date: | 2020-8-12 |
License: | GPL-3 |
Eric F. Lock
Maintainer: Eric F. Lock
[1] EF Lock, N Kohli & M Bose (2018). Detecting multiple random changepoints in Bayesian piecewise growth mixture models. Psychometrika, 83 (3): 733-750.
data(SimData) plotPGMM(X,Y) ##Plot the data Results <- BayesPGMM(X,Y) ##Fit PGMM (can take about 5 minutes) plotPGMM(X,Y,Results) ##Plot results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.