print.tidyLPA: Print tidyLPA

Description Usage Arguments Author(s) Examples

View source: R/estimate-profiles.R

Description

S3 method 'print' for class 'tidyLPA'.

Usage

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

1
2
3
4
5
6
7
8
## Not run: 
if(interactive()){
 iris %>%
   select(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) %>%
   estimate_profiles(3)
 }

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