S3 method 'print' for class 'tidyLPA'.

# S3 method for 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

Caspar J. van Lissa

Examples

if (FALSE) {
if(interactive()){
 iris %>%
   select(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) %>%
   estimate_profiles(3)
 }
}