extr_par {EnviroPRA2} | R Documentation |
Extracts the fitted distribution parameters to be introduced in other function
Description
Auxiliar function for internal use only
Usage
extr_par(x, dist)
Arguments
x |
List of parameters obtained by the aplication of the Fit_dist_parameter function |
dist |
Name of the distribution we would like to stract the parameters ("norm", "lnorm", "geom", "exp", "pois", "gamma", "cauchy", "logis", "weibull", "nbinom", "beta", "chisq", "t", "f") |
Value
A list of fitted parameters.
Author(s)
F. Barrio-Parra
Examples
a <- rnorm(n=100, mean =10, sd = 1)
b <- Fit_dist_parameter(a)
extr_par(x = b, dist ="norm")
[Package EnviroPRA2 version 1.0.1 Index]