PSM.simulate(Model, Data, THETA, deltaTime, longX=TRUE)
Data$Y
is needed as it
is generated through the simulation. The number of individuals
simulated is equal to length(Data).
[object Object],[object Object],[object Object]longX
.mvrnorm
from the MASS pacakge is used to to
generate random numbers fra multivariate normal distributions.PSM
.PSM
, PSM.estimate
,
PSM.smooth
, PSM.plot
, PSM.template
cat("Examples are included in the package vignette.
")
Run the code above in your browser using DataLab