fit_models: Fit models

Description Usage Arguments Value

View source: R/fit_models.R

Description

Fit models

Usage

1
2
fit_models(data, model_call, drop_cols = NULL,
  drop_zero_var_preds = TRUE)

Arguments

data

A data frame with column "train" containing the training datasets.

model_call

A quoted call for fitting the models.

drop_cols

Names of columns to drop before fitting.

drop_zero_var_preds

Boolean. Whether to drop variables with zero variance.

Value

Data frame with added column "model" containing the fitted models.


juoe/sdmflow documentation built on Feb. 23, 2020, 7:38 p.m.