data(mvole)
# The mvole data set contains a total of 30 capture occasions (the
# tenth capture occasion doesn't have any new capture and is taken
# out of the analysis). This number being large, we can only use
# the robustd.0 function to fit a robust design model.
robustd.0(mvole[,-10],vt=c(5,4,rep(5,4)),vm="Mh",vh="Poisson",vtheta=1.5)
# Not run:
# robustd.t(mvole[,-10],vt=c(5,4,rep(5,4)),vm="Mh",vh="Poisson",vtheta=1.5)
# should fail
# Considering only the first 3 periods of the data set, we can use the
# robustd.t function to fit a model with a temporal effect.
robustd.t(mvole[,c(1:9,11:15)],vt=c(5,4,5),vm="Mth",vh="Poisson",vtheta=1.5)
Run the code above in your browser using DataLab