Hi,
I am trying to fit a logistic growth model fit to my data.
My data set is a two column series of years and number of birds.
Year. Number of birds
1900 800
1910 905
..... ....(An asymptote is eventually reached)
The data eventually reaches some carrying capacity and ends up become more stabilized in the base plot:
plot(Count~Year, data=Cormorants, type= "l")
I'm confused how I can fit a logistic growth model to the data to make an "S'" shaped curve.
Very similarly to how populations reach their carrying capacity.
I've tried creating a glm model with the code:
model<- glm(Count~Year, binomial)
but I get an error in eval (family$initialize) : y values must be 0<= y<=1
Am I going about this wrong?