Learn R Programming

adas.utils (version 1.1.1)

pareto_chart.lm: Pareto's chart

Description

Creates a Pareto chart for the effects of a linear model.

Usage

# S3 method for lm
pareto_chart(obj, ...)

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.

Arguments

obj

a linear model

...

further parameters (currently unused)

Examples

Run this code
pareto_chart(lm(Y~A*B*C*D, data=filtration))

Run the code above in your browser using DataLab