This model return the mean of the outcome as a prediction
baseline_model( predictors, outcome, SESOI_lower = 0, SESOI_upper = 0, na.rm = FALSE, ... )
| predictors | Data frame |
|---|---|
| outcome | Vector |
| SESOI_lower | Lower smallest effect size of interest threshold |
| SESOI_upper | Upper smallest effect size of interest threshold |
| na.rm | Should NAs be removed? Default is |
| ... | Extra arguments forwarded to |
model object
baseline_model( predictors = iris[2:3], outcome = iris[[1]] )#> #> Call: #> stats::lm(formula = .outcome ~ 1, data = data) #> #> Coefficients: #> (Intercept) #> 5.843 #>