print.tidyLPA: Print tidyLPA

View source: R/estimate-profiles.R

print.tidyLPAR Documentation

Print tidyLPA

Description

S3 method 'print' for class 'tidyLPA'.

Usage

## S3 method for class 'tidyLPA'
print(
  x,
  stats = c("AIC", "BIC", "Entropy", "prob_min", "prob_max", "n_min", "n_max", "BLRT_p"),
  digits = 2,
  na.print = "",
  ...
)

Arguments

x

An object of class 'tidyLPA'.

stats

Character vector. Statistics to be printed. Default: c("AIC", "BIC", "Entropy", "prob_min", "prob_max", "n_min", "n_max", "BLRT_p" ).

digits

minimal number of significant digits, see print.default.

na.print

a character string which is used to indicate NA values in printed output, or NULL. See print.default.

...

further arguments to be passed to or from other methods. They are ignored in this function.

Author(s)

Caspar J. van Lissa

Examples

## Not run: 
if(interactive()){
 iris %>%
   select(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) %>%
   estimate_profiles(3)
 }

## End(Not run)

jrosen48/tidyLPA documentation built on Feb. 23, 2024, 11:33 p.m.