qcc.options {qcc} | R Documentation |
This function can be used to control the behavior of the 'qcc' library such as the background color, out-of-control points appearance, and many others.
qcc.options(...)
... |
the option to be set or retrieved. See details. |
The available options are:
exp.R.unscaled
se.R.unscaled
beyond.limits$pch
beyond.limits$col
violating.runs$pch
violating.runs$col
run.length
bg.margin
bg.figure
cex
font.stats
cex.stats
If the functions is called with no argument return a list of available options.
If an option argument is provided the corresponding value is returned.
If a value is associated with an option argument, such option is set and the list of updated option values is invisibly returned.
In this case the list .qcc.options
is modified and any modification will remain in effect for the rest of the session.
Luca Scrucca luca@stat.unipg.it
old <- qcc.options() # save defaults qcc.options("cex.stats") # get a single parameter qcc.options("cex.stats"=1.2) # change parameters qcc.options(bg.margin="azure2") qcc.options("violating.runs" = list(pch = 15, col = "purple")) qcc.options("beyond.limits" = list(pch = 15, col = "orangered")) qcc(rnorm(100), type = "xbar.one", std.dev = 0.7) # see the results qcc.options(old) # restore old defaults