The {modelit} package provides an extension to base R functions for model
fitting like lm()
, glm()
or nls()
with enhanced plots and utilitarian
functions.
fit_model()
creates a model_fit object that has many methods.
tabularise()
methods for lm, glm, nls, model_fit,
anova and aov objects.
chart()
methods for lm, glm, nls and model_fit objects.
as.function()
transforms an lm or nls model into a function that
can be plotted using stat_function()
.