Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class '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


mistr

Mixture and Composite Distributions

v0.0.4
GPL-3
Authors
Lukas Sablica [aut, cre] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.