E.dist.fit.f: A generic distribution fitting function for the E variable....

Description Usage Arguments Examples

View source: R/climate.scenario.functions.r

Description

A generic distribution fitting function for the E variable. Used for random draws from E

Usage

1
E.dist.fit.f(E, densfun = densfun)

Arguments

E

the time series of environment or ecosystem variable

densfun

Either a character string or a function returning a density evaluated at its first argument. Distributions "beta", "cauchy", "chi-squared", "exponential", "gamma", "geometric", "log-normal", "lognormal", "logistic", "negative binomial", "normal", "Poisson", "t" and "weibull" are recognised, case being ignored.

Examples

1
E.dist.fit.f(rlnorm(1000,6,1.1),densfun="lognormal")

duplisea/ccca documentation built on April 17, 2021, 2:31 a.m.