nls
yourself (see Details).fitBBOpti(filename = NULL)
fitBBOpti()
Menus and messages guide you through the process of fitting the model to your data.
Optionally, the fitted stomatal conductance values of the model are saved in the #'same CSV file, and saved in the same folder
as the original CSV file. The new CSV file has the suffix fitBBOpti
function is a very user-friendly interface without any options. If you want more control, run the non-linear regression yourself, with this command:
nlsfit <- nls(g ~ g0 + 1.6*(1+g1/sqrt(D))*(A/Ca),start=list(g0=0.02, g1=8),
data=mydataframe)
where mydataframe
is a dataframe that contains the variables A,Ca and D.