pareto_chart {adas.utils} | R Documentation |
Pareto's chart
Description
This is a generic function for Pareto's chart.
Usage
pareto_chart(obj, ...)
Arguments
obj |
an object |
... |
further parameters to specialized functions |
Value
a Pareto chart of the effects of the model
See Also
pareto_chart.data.frame()
pareto_chart.lm()
Examples
# For a data frame:
library(tibble)
set.seed(1)
tibble(
val=rnorm(10, sd=5),
cat=LETTERS[1:length(val)]
) %>%
pareto_chart(labels=cat, values=val)
# For a linear model:
pareto_chart(lm(Y~A*B*C*D, data=filtration))
[Package adas.utils version 1.2.0 Index]