lm

Simple Iteration over Variables with `lm()`

The function, lm_caller() Run the function manually Iterate (apply) over many dependent and independent variables Do it tidy! Plot from multiple models with ggplot This short tutorial covers the basics of making and using a function that takes characters for dependent (LHS) and independent (RHS) variables of interest and converts them into a formula for use in modeling, such as with ‘lm()’.