qcc: Set LCL to zero in u-chart

Hi,

Does anyone know how to set the LCL-values = 0 in a u-chart created by qcc while keeping the variable UCL-values?

qcc(X1$station,
type = "u",
sizes = X1$sample_size
)

We used limits = c(0, 21) for our c-charts but as u-charts create variable UCL-values we could not apply it the same way.

Cheers!

It is ugly, but it seems to work.

LIMITS <- qcc(X1$station,
    type = "u",
    sizes = X1$sample_size,
    plot = FALSE
)$limits

LIMITS[,1] <- 0

qcc(X1$station,
    type = "u",
    sizes = X1$sample_size,
    limits = LIMITS
)
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.