plot.fitEBW: Plot of observed and theoretical frequencies for a EBW fit

View source: R/fitctp.R

plot.fitEBWR 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")


cpd documentation built on Sept. 24, 2023, 1:07 a.m.

Related to plot.fitEBW in cpd...