# 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)
# }
Run the code above in your browser using DataLab