Learn R Programming

CoSMoS (version 2.2.0)

plot.fitDist: Plot method for fitDist objects

Description

Displays the empirical CDF against the fitted theoretical CDF on a log-exceedance-probability scale.

Usage

# S3 method for fitDist
plot(x, ...)

Value

a ggplot object (invisibly returned; also printed)

Arguments

x

a fitDist object returned by fitDist

...

currently unused

See Also

fitDist

Examples

Run this code

x <- fitDist(rnorm(1000), "norm", 30, "N1", FALSE)
plot(x)

Run the code above in your browser using DataLab