| verhulst {pomp} | R Documentation |
verhulst is a pomp object encoding a univariate stochastic logistic model with measurement error.
data(verhulst)
The model is written as an Ito diffusion, dn = r n (1-n/K) dt + σ n dW, where W is a Wiener process.
It is implemented using the euler.simulate plug-in.
pomp-class and the vignettes
data(verhulst)
plot(verhulst)
coef(verhulst)
params <- cbind(
c(n.0=100,K=10000,r=0.2,sigma=0.4,tau=0.1),
c(n.0=1000,K=11000,r=0.1,sigma=0.4,tau=0.1)
)
x <- simulate(verhulst,params=params,states=TRUE)
matplot(time(verhulst,t0=TRUE),t(x['n',,]),type='l')
y <- trajectory(verhulst,params=params)
matlines(time(verhulst,t0=TRUE),t(y['n',,]),type='l',lwd=2)