# NOT RUN {
Weibull.simu(G=5,N=2,scale1=1,scale2=1,shape1=1,shape2=1,
beta1=1,beta2=1,eta=0.5,theta=2,alpha=1,C.max=5)
Weibull.simu(G=5,N=2,scale1=1,scale2=1,shape1=1,shape2=1,
beta1=1,beta2=1,eta=0.5,copula="Gumbel",theta=2,alpha=1,C.max=5)
Weibull.simu(G=5,N=2,scale1=1,scale2=1,shape1=1,shape2=1,
beta1=1,beta2=1,eta=0.5,theta=2,alpha=1,C.max=5,Z.dist=rbinom,size=1,prob=0.5)
## simulated data follow the competing risks setting
Weibull.simu(G=5,N=2,scale1=1,scale2=1,shape1=1,shape2=1,
beta1=1,beta2=1,eta=0.5,theta=2,alpha=1,C.max=5,cmprsk=TRUE)
# }
Run the code above in your browser using DataLab