I have this dataset
devRate <- data.frame( T = c(8, 16, 20, 25, 25, 29, 29, 35),
Rate = c(0, 0.27, 0.20, 0.69, 0.76, 1, 0.98, 0))
By running this code:
M2 <- nls(Rate~(a*(T^b)*(1-T))^c, data = Avg_species, start = list(a = 12.236, b = 4.013, c = 0.546), algorithm = "port")
I receive this error
Missing value or an infinity produced when evaluating the model
How to solve it?
Thanks