Fit a distribution to data
fit.dist(
trait.data,
trait = colnames(trait.data),
dists = c("weibull", "lognormal", "gamma"),
n = NULL
)
Arguments
- trait.data
data for distribution
- trait
name of trait to fit.
One of "tt", "sla", "rrr", "q"
- dists
list of distribution names
- n
only used in return value
Value
best fit distribution