pareto | R Documentation |
Function for making pareto charts.
pareto(data, x, counts = NULL, angle = 0)
data |
the data as a data frame |
x |
a string naming the variable from |
counts |
a string naming the variable from |
angle |
a number from 0 to 45 defining the angle of the x-axis labels, where 0 degrees represents completely horizontal labels. |
A results object containing:
results$pareto | a Pareto chart | ||||
set.seed(1337) X <- sample(c('A','B','C','D','E','F'), 100, replace=TRUE) dat <- data.frame(X = X) scatr::pareto(dat, x = 'X')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.