Error code ylim value in analysing

New to R studio. Need to get out the throughput time through a plot, but getting an error in return.
Error I'm getting: Error in plot.window(...) : need finite 'ylim' values
Some recommendations for what I can add?

throughput_time_qcc <- qcc(log(ntp_casestats_mr$throughput_time), type = "", 
                           labels = ntp_casestats_mr$case_id, plot = FALSE) 
plot(throughput_time_qcc, title = "X (individual measurements) chart for throughput time (hours)", 
     xlab = "Case ID", ylab = "log (throughput time)", digits = 2, )
process.capability(throughput_time_qcc, spec.limits = c(NA, log(100)), nsigmas=3, digits = 2)

Hi, welcome to the forum.

I think we need to see all your code and some sample data. See
FAQ Asking Questions

A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need. Just do dput(mydata) where mydata is your data. Copy the output and paste it here between


1 Like