Bootstrap the likelihood-ratio test statistic for mixture components

bootstrap_lrt(df, ..., n_profiles, variances = "equal",
covariances = "zero")

## Arguments

df data.frame with two or more columns with continuous variables unquoted variable names separated by commas the number of profiles (or mixture components) to be estimated how the variable variances are estimated; defaults to "equal" (to be constant across profiles); other option is "varying" (to be varying across profiles) how the variable covariances are estimated; defaults to "zero" (to not be estimated, i.e. for the covariance matrix to be diagonal); other options are "varying" (to be varying across profiles) and "equal" (to be constant across profiles)

## Details

Bootstrap the p-values for the likelihood-ratio test statistic for the number of mixture components for an mclust model.

## Examples

# NOT RUN {
d <- pisaUSA15
d <- dplyr::sample_n(d, 200)
bootstrap_lrt(d,
# }