# NOT RUN {
# model
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
# using fitted values
ols_f_test(model)
# using all predictors of the model
ols_f_test(model, rhs = TRUE)
# using fitted values
ols_f_test(model, vars = c('disp', 'hp'))
# }
Run the code above in your browser using DataLab