f2a91208 |
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{ |
cad71b2c |
10 | \item{covX}{covariance for covariates (of size p*p*K)} |
f2a91208 |
11 | |
cad71b2c |
12 | \item{covY}{covariance for the response vector (of size m*m*K)} |
f2a91208 |
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 | |