Hi All, i am very new to R and need guidance.
Need help in doing process capability Analysis for my data set (6 months of data) given in below format: Date | Opportunities | Defectives | DefectivesInPercent I searched and found that pcr() from QualityTools package can be used for this purpose. The USL is 2% defectives. MyData = read.csv(file.choose()) #select CSV file that has data in above mentioned format. x <- MyData$DefectivesInPercent pcr(x, distribution = "negative-binomial", usl=0.02) I get error message as: Error in pcr(x, distribution = "negative-binomial", usl = 0.02) : y distribution could not be found! Please advise, how to proceed? Regards, Prasad DN [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.