| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/generateIO.R |
| 3 | \name{generateIO} |
| 4 | \alias{generateIO} |
| 5 | \title{Generate a sample of (X,Y) of size n} |
| 6 | \usage{ |
| 7 | generateIO(covX, covY, pi, beta, n) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{covX}{covariance for covariates (of size p*p*K)} |
| 11 | |
| 12 | \item{covY}{covariance for the response vector (of size m*m*K)} |
| 13 | |
| 14 | \item{pi}{proportion for each cluster} |
| 15 | |
| 16 | \item{beta}{regression matrix} |
| 17 | |
| 18 | \item{n}{sample size} |
| 19 | } |
| 20 | \value{ |
| 21 | list with X and Y |
| 22 | } |
| 23 | \description{ |
| 24 | Generate a sample of (X,Y) of size n |
| 25 | } |
| 26 | |