model_control: Model Control Constructor

Description Usage Arguments

View source: R/model-control.R

Description

Model Control Constructor

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
model_control(
  cv_folds = 5,
  cv_repeats = 10,
  cv_strata = NULL,
  boot_type = "bca",
  boot_samples = 2000,
  boot_strata = NULL,
  confidence = 0.95,
  iter = TRUE,
  seed = round(stats::runif(1, 1, 10000))
)

Arguments

cv_folds

Number of cross-validation folds. Default is 5

cv_repeats

Number of cross-validation repeats. Default is 10

cv_strata

Strata to be used for cross-validation. Default is NULL

boot_type

Type of bootstrap confidence interval ("bca" and "perc"). Default is "bca"

boot_samples

Number of bootstrap resamples. Default is 2000

boot_strata

Strata to be used for bootstrap. Default is NULL

confidence

Confidence to be used for calculating bootstrap CIs. Default is 0.95

iter

Should progress bar be shown? Default is TRUE

seed

Random number seed


mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.