install.stepmix | R Documentation |
Install the stepmix python package in the python instance used by reticulate.
install.stepmix(envname, method, conda, pip, ...)
check_pystepmix_version()
envname |
Name of the python environment. "r-reticulate" by default. |
method |
installation method. See doc in reticulate |
conda |
Path to a conda install. See doc in reticulate |
pip |
Logical value to choose pip as the install method |
... |
Not used in function |
This methods installs stepmix in the python instance or environment used by reticulate. It uses reticulate::py_install.
It doesn't return anything.
Éric Lacourse, Roxane de la Sablonnière, Charles-Édouard Giguère, Sacha Morin, Robin Legault, Félix Laliberté, Zsusza Bakk
Bolck, A., Croon, M., and Hagenaars, J. Estimating latent structure models with categorical variables: One-step versus three-step estimators. Political analysis, 12(1): 3-27, 2004.
Vermunt, J. K. Latent class modeling with covariates: Two improved three-step approaches. Political analysis, 18 (4):450-469, 2010.
Bakk, Z., Tekle, F. B., and Vermunt, J. K. Estimating the association between latent class membership and external variables using bias-adjusted three-step approaches. Sociological Methodology, 43(1):272-311, 2013.
Bakk, Z. and Kuha, J. Two-step estimation of models between latent classes and external variables. Psychometrika, 83(4):871-892, 2018
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.