Learn R Programming

mistr (version 0.0.2)

plot.comp_fit: Autoplot of Fitted Distributions

Description

The function plots the CDF, PDF and QQ-plot of a fitted distribution object together with the empirical values.

Usage

# S3 method for comp_fit
plot(x, which = "all", layout = matrix(c(1, 2, 1,
  3), nrow = 2), empir_color = "#122e94", mtext_cex = sett, ...)

Arguments

x

distribution object.

which

whether to plot only CDF, PDF, qq or all three, default: 'all'.

layout

layout of plots, default: matrix(c(1, 2, 1, 3), nrow = 2).

empir_color

color of empirical data, default: '#122e94'.

mtext_cex

cex parameter for mtexts used in the plots.

...

further arguments to be passed.

See Also

Distribution_autoplot