get_estimates: Get estimates from objects generated by tidyLPA

Description Usage Arguments Value Methods (by class) Author(s) Examples

View source: R/estimate-profiles.R

Description

Get estimates from objects generated by tidyLPA.

Usage

1
2
3
4
5
6
7
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)

Author(s)

Caspar J. van Lissa

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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)

Example output

You can use the function citation('tidyLPA') to create a citation for the use of {tidyLPA}.
Mplus is not installed. Use only package = 'mclust' when calling estimate_profiles().
Warning message:
In system2("type", args = "mplus", stdout = FALSE, stderr = FALSE) :
  error in running command

tidyLPA documentation built on Nov. 17, 2021, 5:07 p.m.