You can use functions from the stats package to create predictive models in R. The stats package provides a variety of functions for statistical modelling and inference. Some of the most valuable functions from stats are lm(), glm(), anova(), summary(), and predict().