What functions do you use in R to fit a curve to your data and test how well that curve fits? What results are considered good?