pareto_chart | R Documentation |
This is a generic function for Pareto's chart.
pareto_chart(obj, ...)
obj |
an object |
... |
further parameters to specialized functions |
a Pareto chart of the effects of the model
pareto_chart.data.frame()
pareto_chart.lm()
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.