# NOT RUN {
datas<-dataexamples(n=500,seed=123,Censoring=FALSE)
data=datas$datagest
idvar="id"
timevar="time"
Yn="Y"
An="A"
Ybin=FALSE
Abin=TRUE
Lny=c("L","U")
Lnp=c("L","U")
gestfunc<-gest
type=2
bn=5
alpha=0.05
Cn<-NA
LnC<-NA
gestboot(gest,data,idvar,timevar,Yn,An,Ybin,Abin,Lny,
Lnp,type=1,bn=bn,alpha=alpha,onesided="twosided",seed=123)
# }
Run the code above in your browser using DataLab