plot_fit_dist: Graphical representation of data fitting to a distribution

Description Usage Arguments Value Author(s) See Also Examples

Description

A function to help assessing the distribution that best fit a data vector

Usage

1

Arguments

x

A numeric vector of length at least one containing only finite values (values must be >= 0)

dist

Character vector indicating the distribution to be ploted:"norm", "lnorm", "geom", "exp", "pois", "cauchy", "logis", "weibull"

Value

Returns: Empirical and theoretical density plots, Empirical and theoretical CDFs, Q-Q plot, P-P plot

Author(s)

F. Barrio-Parra

See Also

plotdist from Library (fitdstrplus)

Examples

1
2
3
set.seed(123)
a <- rnorm(n = 100, mean = 10, sd = 1)
plot_fit_dist(a, "norm")

EnviroPRA documentation built on May 1, 2019, 8:21 p.m.