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