| SSexp3P | R Documentation | 
This selfStart model evaluates the exponential regression function (formula as: y=a*exp(b*x)+c). It has an initial attribute that will evaluate initial estimates of the parameters a, b, and c for a given set of data.
SSexp3P(predictor, a, b, c)
| predictor | a numeric vector of values at which to evaluate the model. | 
| a, b, c | Three numeric parameters responsing to the exp3P model. | 
Weiping Mei meiweipingg@163.com
trendline, SSexp3P, SSpower3P, nls, selfStart
library(basicTrendline) x<-1:5 y<-c(2,4,8,16,28) xy<-data.frame(x,y) getInitial(y ~ SSexp3P(x,a,b,c), data = xy) ## Initial values are in fact the converged values fitexp3P <- nls(y~SSexp3P(x,a,b,c), data=xy) summary(fitexp3P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.