extr_par {EnviroPRA}R Documentation

Extracts the fitted distribution parameters to be introduced in other function

Description

Auxiliar function

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")

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 EnviroPRA version 1.0 Index]