diff --git a/R/est_pow.R b/R/est_pow.R index 50e953b..561b6cb 100644 --- a/R/est_pow.R +++ b/R/est_pow.R @@ -59,8 +59,8 @@ est_pow = function(n,alpha,nsim,dist,params,tests){ if("mclust" %in% tests){ pwr.df = rbind(pwr.df,data.frame(N = n, Test = "Mclust", - power = sum(sapply(n.dfs, function(s) I(mclust::mclustBootstrapLRT(as.data.frame(s),modelName="V",verbose=F,maxG=1)$p.value