angledist: Creates object of class angledist

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Creates a leaf angle distribution object. Other functions in the LeafAngle package use this type of object quite conveniently. Nearly all distributions summarized in Wang et al. (2007) are implemented.

Usage

1
angledist(distribution, distpars = NA)

Arguments

distribution

One of the distributions. Currently included are 'ellipsoid', 'rotatedell', 'twoparbeta', 'spherical', 'planophile', 'extremophile', 'erectophile', 'uniform', and 'plagiophile'.

distpars

A vector of parameters for the distribution. See Details.

Details

Only three of the distributions take a parameter, these are 'ellipsoid' and 'rotatedell', and 'twoparbeta'. For the first two, the parameter X needs to be provided, for the 'twoparbeta' the parameters alphamean and tvar (see Wang et al. 2007).

Value

An object of class AngleDist. Simply a list of components, in this useage only two are set: distribution and distpars. Other components are set when fitting a distribution to data, see fitdistribution.

Author(s)

Remko Duursma

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

Examples

1
2
mydist <- angledist('ellipsoid', 1.1)
plot(mydist)

LeafAngle documentation built on May 29, 2017, 8:32 p.m.