Learn R Programming

FAmle (version 1.3.7)

plot.mle: Diagnostic Plots for the Fitted Model

Description

This function returns diagnotic plots for a mle object.

Usage

# S3 method for mle
plot(x, ci = FALSE, alpha = 0.05,...)

Arguments

x

mle object corresponding to the fitted model.

ci

Whether or not approximate confidence intervals should be added to the return period and quantile plots.

alpha

1-alpha is the requested coverage probability for the confidence interval.

none...

See Also

mle, Q.conf.int

Examples

Run this code
# NOT RUN {
data(yarns)
x <- yarns$x
fit.1 <- mle(x,'weibull',c(.1,.1))
fit.2 <- mle(x,'logis',c(.1,.1))
plot(fit.1,TRUE,.05)
dev.new();plot(fit.2,TRUE,.05)
# }

Run the code above in your browser using DataLab