I want to make a control chart in R. The LCL, UCL and CL are found by Bayes estimator and use Weibull Distribution. The CL could be found by the Trapezoid rule. How could I make a control chart with R? Is there any syntax or package or journal that I can use or read to solve this problem? Thanks