powered by
completeDataDesignMatrix(J, X)
K<-6 #measurement (or timepoints) I<-10 #Cluster J<-2 #number of subjects X<-designMatrix(nC=I, nT=K, nSw=2) completeDataDesignMatrix(J, X)
Run the code above in your browser using DataLab