fitBBs: Fit Ball-Berry type models of stomatal conductance to many...

Description Usage Arguments Examples

View source: R/fitBBs.R

Description

A batch utility for the fitBB function, to fit the model for each group in a dataframe.

Usage

1

Arguments

data

Input dataframe, containing all variables needed to fit the model.

group

Name of the grouping variable in the dataframe (quoted), the model will be fit for each group defined by this variable.

...

Further parameters passed to fitBB, see there for a full description.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# If you have a factor variable in your dataset called 'species', and you
# want to fit the Ball-Berry model for each of the species:
myfits <- fitBBs(mydata, "species", model="BallBerry")

# A dataframe with coefficients is returned by coef()
coef(myfits)


## End(Not run)

plantecophys documentation built on April 1, 2021, 1:06 a.m.