Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_estimates

Get estimates from objects generated by tidyLPA


Description

Get estimates from objects generated by tidyLPA.

Usage

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.

Value

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'.

Author(s)

Caspar J. van Lissa

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)

tidyLPA

Easily Carry Out Latent Profile Analysis (LPA) Using Open-Source or Commercial Software

v1.0.8
MIT + file LICENSE
Authors
Joshua M Rosenberg [aut, cre], Caspar van Lissa [aut], Jennifer A Schmidt [ctb], Patrick N Beymer [ctb], Daniel Anderson [ctb], Matthew J. Schell [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.