# NOT RUN {
data(WarblerP)
data(WarblerG)
GdP<-GdataPed(WarblerG)
res1<-expression(varPed("offspring", restrict=0))
PdP<-PdataPed(formula=list(res1), data=WarblerP, USsire=TRUE, USdam=TRUE)
X.list<-getXlist(PdP=PdP, GdP=GdP, E2=0.02)
nUS<-MLE.popsize(X.list, USsire=TRUE, USdam=TRUE)
nUS
# }
Run the code above in your browser using DataLab