View source: R/estimate-profiles.R
get_estimates | R Documentation |
Get estimates from objects generated by tidyLPA.
get_estimates(x, ...)
## S3 method for class 'tidyLPA'
get_estimates(x, ...)
## S3 method for class 'tidyProfile'
get_estimates(x, ...)
x |
An object generated by tidyLPA. |
... |
further arguments to be passed to or from other methods. They are ignored in this function. |
A tibble.
get_estimates(tidyLPA)
: Get estimates for a latent profile analysis with
multiple numbers of classes and models, of class 'tidyLPA'.
get_estimates(tidyProfile)
: Get estimates for a single latent profile analysis
object, of class 'tidyProfile'.
Caspar J. van Lissa
## Not run:
if(interactive()){
results <- iris %>%
select(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) %>%
estimate_profiles(3)
get_estimates(results)
get_estimates(results[[1]])
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.