df <- data.frame(
time = c(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17),
var = c(12.69,16.35,20.29,25.08,30.81,38.75,45,49.16,55.15,62.852,68.63,76.64,82.47,85.68,89.14,91.86,95.28,98.17)
)
logisticmodel <- nls(var ~ SSlogis(time, phi1, phi2, phi3), data = df)
summary(logisticmodel)
coef(logisticmodel)
#predict(logisticmodel, data.frame(time = 18))
The output given by R is as follows:
phi1 phi2 phi3
105.737368 7.432555 3.852865
But the website gives us:
I know some languages have different outputs. It's normal but I am wondering what your thoughts are?
Thanks in advance.
