Description Usage Arguments Value Examples
Single bar plot with Upper Control Limis. Customized title and labels. Y-Axis limits are fixed according to the range of the values in x.
1 2 3 4 5 6 7 8 | barwithucl(
x,
iobs,
ucl,
plotname = "",
ylabelname = "",
xlabelname = "Obs. Index"
)
|
x |
vector with the values of the statistic. |
iobs |
index of the observations whose value will be displayed. |
ucl |
Upper Control Limit of the statistic. |
plotname |
string with the title of the plot. Set to |
ylabelname |
string with the y-axis label. Set to |
xlabelname |
string with the y-axis label. Set to |
ggplot object with the individual value of a variable as a geom_col with an horizontal line reference.
1 2 3 | barwithucl(c(1:10), 6, 5)
barwithucl(c(1:10), 6, 5, plotname = "Plot title", ylabelname = "Y label",
xlabelname= "X label")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.