get_estimates function

Get estimates from objects generated by tidyLPA

Get estimates from objects generated by tidyLPA

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, ...)

Arguments

  • x: An object generated by tidyLPA.
  • ...: further arguments to be passed to or from other methods. They are ignored in this function.

Returns

A tibble.

Methods (by class)

  • tidyLPA: Get estimates for a latent profile analysis with multiple numbers of classes and models, of class 'tidyLPA'.
  • tidyProfile: Get estimates for a single latent profile analysis object, of class 'tidyProfile'.

Examples

## 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)

Author(s)

Caspar J. van Lissa

  • Maintainer: Joshua M Rosenberg
  • License: MIT + file LICENSE
  • Last published: 2021-11-17