Skip to content

OOP can reduce number of arguments #98

@wlangera

Description

@wlangera

A lot more info will be stored in cube_bootstrap or boot_list objects.
Therefore we can simplify functions:

calculate_bootstrap_ci() remove

  • grouping_var
  • data_cube
  • fun
  • ...
  • ref_group
calculate_bootstrap_ci(
  bootstrap_results,
  grouping_var = NULL,
  type = c("perc", "bca", "norm", "basic"),
  conf = 0.95,
  h = function(t) t,
  hinv = function(t) t,
  no_bias = FALSE,
  aggregate = TRUE,
  data_cube = NA,
  fun = NA,
  ...,
  ref_group = NA,
  influence_method = ifelse(is.element("bca", type), "usual", NA),
  progress = FALSE,
  boot_args = list()
)

Metadata

Metadata

Assignees

Labels

OOPObject oriented programming

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions