Skip to content

Commit

Permalink
use strata
Browse files Browse the repository at this point in the history
  • Loading branch information
wlangera committed Dec 19, 2024
1 parent 2f32875 commit e29330b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/R/bootstrap_dsmodels.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ bootstrap_ds_model <- function(ds_model, samples, fun, group_vars) {
data = ds_model$ddf$data,
statistic = boot_statistic_ds,
R = samples,
strata = factor(ds_model$ddf$data[[group_vars]]),
fun = get_det_probs,
ds_model = ds_model,
group_vars = group_vars)
Expand Down

0 comments on commit e29330b

Please sign in to comment.