Skip to contents

Plotting of the overall standard errors calculated during the saturation point anlaysis performed by satpt().

Usage

# S3 method for class 'satpt'
plot(x, threshold = TRUE, ...)

Arguments

x

satpt object to be plotted.

threshold

logical; if TRUE, display saturation threshold. Default is TRUE.

...

Further arguments to be passed to graphics::barplot()

Examples

# loading data
data(diagnoses)

# performing saturation point analysis
fit1 <- satpt::satpt(y = diagnoses$q2)
fit2 <- satpt::satpt(
  y = diagnoses$q2,
  by = diagnoses$wave,
  dimnames = c("Response collected", "Collection period"),
  threshold = 0.015
)

# plotting standard errors
plot(fit1)

plot(fit2)