Skip to content

Commit

Permalink
revert remains
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Mar 10, 2021
1 parent 5f1ba67 commit 5a2adc5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions R/bootstrap_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ bootstrap_model.default <- function(model,
data = data,
statistic = boot_function,
R = iterations,
model = model,
ncpus = ncpus
model = model
)

out <- as.data.frame(results$t)
Expand Down Expand Up @@ -131,15 +130,13 @@ bootstrap_model.merMod <- function(model, iterations = 1000, verbose = FALSE, ..
model,
boot_function,
nsim = iterations,
verbose = FALSE,
ncpus = ncpus
verbose = FALSE
))
} else {
results <- lme4::bootMer(
model,
boot_function,
nsim = iterations,
ncpus = ncpus
nsim = iterations
)
}

Expand Down

0 comments on commit 5a2adc5

Please sign in to comment.