upadate valse.R
[valse.git] / man / generateXY.Rd
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{
10 \item{meanX}{matrix of group means for covariates (of size p*K)}
11
12 \item{covX}{covariance for covariates (of size p*p*K)}
13
14 \item{covY}{covariance for the response vector (of size m*m*K)}
15
16 \item{pi}{proportion for each cluster}
17
18 \item{beta}{regression matrix}
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