The final leaf number is first retrived from trait "O_FinalLeafNumber", then calculated from trait "O_HaunIndex" if "O_FinalLeafNumber" is not observed. Final leaf number equals the maximum value of "O_HaunIndex", which should be an integer.

dbGetOrganFinalLeafNumber(con, trials = NULL, ...)

Arguments

con

a connection object as produced by dbConnect

trials

A data.frame to specify trials. If not NULL, other arguments

...

Arguments to specific trials.

Value

A data.frame for selected final leaf number