powered by
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.
barwithucl( x, iobs, ucl, plotname = "", ylabelname = "", xlabelname = "Obs. Index" )
vector with the values of the statistic.
index of the observations whose value will be displayed.
Upper Control Limit of the statistic.
string with the title of the plot. Set to "" by default.
""
string with the y-axis label. Set to "" by default.
string with the y-axis label. Set to "Obs. Index" by default.
"Obs. Index"
ggplot object with the individual value of a variable as a geom_col with an horizontal line reference.
# NOT RUN { barwithucl(c(1:10), 6, 5) barwithucl(c(1:10), 6, 5, plotname = "Plot title", ylabelname = "Y label", xlabelname= "X label") # }
Run the code above in your browser using DataLab