bootcomp(x, y, ncomp=2, ncincr=1, intercept=TRUE, nboot=1000,
ts1=NULL, ts2=NULL, sem.par=FALSE, verb=FALSE,
print.prog=TRUE, ...)TS1 <- list(list(beta=c(3.0,0.1),sigsq=16,lambda=0.5),
list(beta=c(0.0,0.0),sigsq=16,lambda=0.5))
TS2 <- list(list(beta=c(3.0,0.1),sigsq=9,lambda=1/3),
list(beta=c(1.5,0.05),sigsq=9,lambda=1/3),
list(beta=c(0.0,0.0),sigsq=9,lambda=1/3))
data(aphids)
x <- aphids$n.aphids
y <- aphids$n.inf
nboot <- 1000
<testonly>nboot <- 10</testonly>
boot.23 <- bootcomp(x,y,nboot=nboot,ts1=TS1,ts2=TS2)Run the code above in your browser using DataLab