Hi djmuseR, I tried installing and running the script that you suggested. But with every value I tried for a, b, c and d I get one of those 2 error messages
Error in nls(y ~ a - b * exp(-c * x^d), start = list(a = 10, b = 30, c = 0.4, : singular gradient Error in numericDeriv(form[[3L]], names(ind), env) : Missing value or an infinity produced when evaluating the model Any ideas? -- View this message in context: http://r.789695.n4.nabble.com/Fitting-my-data-to-a-Weibull-model-tp3780169p3781860.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.