Skip to content

Commit

Permalink
init (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher authored Feb 6, 2025
1 parent c76c05d commit 8645ae2
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 @@ -40,7 +40,7 @@ bootstrap_boot <- function(model, INF_FUN, ...) {
# print.boot prints an ugly nested call
t <- matrix(B$t, nrow = nrow(B$t))
op <- cbind(
apply(t, 2L, mean, na.rm = TRUE),
colMeans(t, na.rm = TRUE),
sqrt(apply(t, 2L, function(t.st) stats::var(t.st[!is.na(t.st)]))))
out$std.error <- op[, 2]

Expand Down

0 comments on commit 8645ae2

Please sign in to comment.