evaluateLAD {hemiphoto2LAI} | R Documentation |
Compute the curve or function values of a chosen LAD
evaluateLAD(ladType, ladParameter, option=list(),...)
ladType |
a three-leter string to specify one of the 19 LAD models supported (e.g., "es1","uni",and "lan"). Type |
ladParameter |
a vector of two elements specifying the parameter values of the chosen LAD type |
option |
(optional). If absent, |
... |
additional parameters, not used currently but reserved for future extension |
The output is a LIST object,comprising the following elements:
THETA |
a vector of length |
G |
a vector of length |
PAR |
a copy of the input LAD parameters. |
Zhao et al. (2019). How to better estimate leaf area index and leaf angle distribution from digital hemispherical photography? Switching to a binary nonlinear regression paradigm (under review)
library(hemiphoto2LAI) #--------------------------------Example 1--------------------------------# opt=list() #Create an empty list to append individual parameters opt$N=100 #The full zenith range (i.e, [0, pi/2]) divided into #100 intervals opt$scaledParameter=0 #If set to 0, the ladParamter input should be valid values #falling within the expected range of the chosen LAD. If set # to 1, ladParamter is two numbers within [0, 1] to # be scaled to the valid ranges of the chosen LAD model. result=simHemiphoto("es1", c(0.1, NA), opt) #*****************************End of Example 1****************************#