plot.psFit {fitPS} | R Documentation |
S3 plot method for an object of class psFit
Description
S3 plot method for an object of class psFit
Usage
## S3 method for class 'psFit'
plot(
x,
ylim = c(0, 1),
conf = FALSE,
conf.level = 0.95,
ci.type = c("wald", "prof"),
log.scale = FALSE,
...
)
Arguments
x |
an object of class |
ylim |
the limits of the y-axis. |
conf |
if |
conf.level |
the confidence level for the confidence intervals. Must be between 0.75 and 0.99. |
ci.type |
Specifies the type of confidence interval. If |
log.scale |
if |
... |
other arguments passed to |
Value
No return value, called for side effects
Examples
p = readData(system.file("extdata", "p.xlsx", package = "fitPS"))
fit = fitDist(p)
plot(fit)
## An example with Wald generated intervals
plot(fit, conf = TRUE)
plot(fit, conf = TRUE, ci.type = "p")