apply_model: Apply Model

View source: R/03_apply_model.R

apply_modelR Documentation

Apply Model

Description

Apply model and create column with fit

Usage

apply_model(
  obj,
  models = c("SL.glm", "SL.rpart"),
  test_partition_prop = 0.2,
  perf_measure = "auc"
)

Arguments

obj

object returned from define_indepvars_outcome

models

models to be analyzed

test_partition_prop

test proportion

perf_measure

performance measure

Value

list with fit models and parameters

Examples

apply_model(obj2)


tradeoffaucdim documentation built on June 10, 2025, 9:09 a.m.