# NOT RUN {
#Generate a covariance-matrix with measurements at Baseline and at times c(1,1.5,2,5)
covar<-gen_cov_cor(var=3,rho=0.25,theta=1,Time=c(0,1,1.5,2,5),cov=TRUE)
covar
#Generate a correlation-matrix with the same values
corr<-gen_cov_cor(rho=0.25,theta=1,Time=c(0,1,1.5,2,5),cov=FALSE)
corr
# }
Run the code above in your browser using DataLab