Description Usage Arguments Value Methods (by class) Examples
View source: R/qccOperations.R
plot qcc using ggplot
1 2 3 4 5 6 7 8 9 10 11 |
x |
a qcc object |
... |
currently not used |
add.stats |
currently not used |
chart.all |
currently not used |
label.limits |
a character vector specifying the labels for control limits. |
gr_func |
function to apply to group labels, useful for dates or numbers. Set this to as.numeric or as.Date when your groups are numbers/dates respectively |
a ggplot2 plot object
qcc
: for qcc functions
1 2 3 4 5 6 7 | data("pistonrings", package = 'qcc')
diameter <- qcc::qcc.groups(pistonrings$diameter, pistonrings$sample)
qcc_obj <- qcc::qcc(diameter[1:25,], type="xbar")
plot_gg.qcc(qcc_obj)
qcc_new <- qcc::qcc(diameter[1:25,], newdata = diameter[24:40,], type="xbar")
plot_gg.qcc(qcc_new)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.