calcLAD {LAD}R Documentation

Calculate summary statistics from measured leaf inclination angles

Description

The function derives summary statistics from measured leaf inclination angles:.

Arguments

data

Dataframe. The dataframe containing leaf inclination angle measurements.

angles

Numeric. The column containing leaf inclination angle measurements (in degrees).

type

Character. If set to "summary", it gives summary distributions. If set to "extended", it calculates LAD probability density (pdf) and G-function (G) for view or inclination angles (theta). Default set to "summary".

...

The column(s) indicating the grouping variables to be considered for calculating summary statistics.

Value

A dataframe with the grouping variable(s), and:

Examples

head(Chianucci)

calcLAD(Chianucci,Angle_degree,type='summary',Genus,Species)
calcLAD(Chianucci,Angle_degree,type='extended',Genus,Species)



[Package LAD version 0.1.0 Index]