Last data update: 2014.03.03

R: Simulate from a leaf angle distribution
drawsampleR Documentation

Simulate from a leaf angle distribution

Description

Uses rejection sampling to generate deviates from any of the supported leaf angle distributions.

Usage

drawsample(obj, n = 25, degrees = FALSE, ...)

Arguments

obj

Object of class angledist

n

Sample size

degrees

Logical

...

More parameters to ftheta.

Value

A vector of angles (0 - 90 degrees).

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

Results