[R] Binomial PCA Using pcr()

Prasad DN pr@@@ddn79 @end|ng |rom gm@||@com
Wed Aug 12 12:50:25 CEST 2020


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]]



More information about the R-help mailing list