Learn R Programming

LeafAngle (version 1.2-1)

loglikfit: Two methods for fitting a leaf angle distribution

Description

Two functions that report the chi-squared statistic, or the log-likelihood of a particular distribution, given a sample of leaf angles. No need to be called by the user. Simply use fitdistribution, which finds the parameters of the distribution by minimizing either chi-squared or log-likelihood.

Usage

chisqfit(angles, distribution, distpars=NA, ...) loglikfit(angles, distribution, distpars=NA, ...)

Arguments

angles
Vector of angles (0-90 degrees).
distribution
One of the nine distributions. See angledist
distpars
Vector of parameters
...
Further parameters passed to ftheta.

References

Wang W.M., Li Z.L. & Su H.B. (2007). Comparison of leaf angle distribution functions: Effects on extinction coefficient and fraction of sunlit foliage. Agricultural and Forest Meteorology, 143, 106-122.

See Also

fitdistribution, fitalldistributions