pareto_chart.lm {adas.utils} | R Documentation |
Pareto's chart
Description
Creates a Pareto chart for the effects of a linear model.
Usage
## S3 method for class 'lm'
pareto_chart(obj, ...)
Arguments
obj |
a linear model |
... |
further parameters (currently unused) |
Value
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.
Examples
pareto_chart(lm(Y~A*B*C*D, data=filtration))
[Package adas.utils version 1.2.0 Index]