plot.fitEBW {cpd}R Documentation

Plot of observed and theoretical frequencies for a EBW fit

Description

Plot of observed and theoretical frequencies for a EBW fit

Usage

## S3 method for class 'fitEBW'
plot(x, plty = "FREQ", maxValue = NULL, ...)

Arguments

x

An object of class 'fitEBW'

plty

Plot type to be shown. Default is "FREQ" which shows the observed and theoretical frequencies for each value of the variable; "CDF" and "PP" are also available for plotting the empirical and theoretical cumulative distribution functions or the theoretical cumulative probabilities against the empirical cumulative probabilities, respectively.

maxValue

maxValue you want to appear in the plot

...

Additional parameters.

Examples

set.seed(123)
x <- rebw(500, -0.25, 1)
fit <- fitebw(x)
plot(fit)
plot(fit, plty = "CDF")
plot(fit, plty = "PP")


[Package cpd version 0.3.2 Index]