pareto_chart.lm | R Documentation |
Creates a Pareto chart for the effects of a linear model.
## S3 method for class 'lm'
pareto_chart(obj, ...)
obj |
a linear model |
... |
further parameters (currently unused) |
a Pareto chart (GGPlot2 object) of the effects of the model
Invisibly returns a data frame with the absolute effects of the model, their sign, and the cumulative effect.
pareto_chart(lm(Y~A*B*C*D, data=filtration))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.