fitLAD: Fit Leaf Angle Distribution (LAD) from two-parameters (mu,...

View source: R/fitLAD.R

fitLADR Documentation

Fit Leaf Angle Distribution (LAD) from two-parameters (mu, nu) Beta distribution

Description

The function derives both the Leaf Angle Distribution (LAD) and the G-function from two-parameters (mu, nu) Beta distribution.

Arguments

mu

Numeric. The mu parameter of the Beta distribution.

nu

Numeric. The nu parameter of the Beta distribution.

plot

Logical. If set to TRUE, it plots the measured and theoretical LAD and G distributions. Default set to FALSE.

Value

A list of two elements:

  • dataset: a dataframe with three columns indicating the measured LAD (pdf), the G-function (G), for view or inclination angle (theta).

  • distribution: a vector containing the matched distribution type.

Examples

fitLAD(0.9,0.9) # uniform LAD distribution
fitLAD(2.8,1.18)# planophile LAD distribution
fitLAD(1.1,1.7, plot=TRUE)# spherical LAD distribution


LAD documentation built on July 9, 2023, 7:33 p.m.