Skip to content

Commit

Permalink
namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 26, 2025
1 parent 8b48a7d commit 00c5e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/bootstrap_boot.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ bootstrap_boot <- function(model, INF_FUN, ...) {
t <- matrix(B$t, nrow = nrow(B$t))
op <- cbind(
apply(t, 2L, mean, na.rm = TRUE),
sqrt(apply(t, 2L, function(t.st) var(t.st[!is.na(t.st)]))))
sqrt(apply(t, 2L, function(t.st) stats::var(t.st[!is.na(t.st)]))))
out$std.error <- op[, 2]

# extract from weird boot.ci() list (inspired from `broom::tidy.broom` under MIT)
Expand Down

0 comments on commit 00c5e2f

Please sign in to comment.