Learn R Programming

tradeoffaucdim (version 0.1.0)

apply_model: 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"
)

Value

list with fit models and parameters

Arguments

obj

object returned from define_indepvars_outcome

models

models to be analyzed

test_partition_prop

test proportion

perf_measure

performance measure

Examples

Run this code
apply_model(obj2)

Run the code above in your browser using DataLab