rot: rotation: 0 (default), 90, 180 (survival), or 270
dfC: degrees of freedom for the Student copula (default is NULL)
model: marginal distribution: "binomial" (bernoulli), "poisson", "nbinom" (mean is the parameter),"nbinom1" (p is the parameter), "geometric", "multinomial", exponential", "weibull", "normal" (gaussian),"t", "laplace"
dfM: degrees of freedom for the Student margins (default is NULL)
offset: offset for the margins (default is NULL)
Returns
y: Simulated response
y: Simulated values
Examples
K=50#number of clustersn=5#size of each clusterN=n*K
set.seed(1)clu=rep(c(1:K),each=n)parC =0# yields tau = 0.5 for ClaytonparM= c(1,-1,4)xm = runif(N)y=SimGenCluster(parC,parM,xm,family="clayton",rot=90,clu=clu,model="gaussian")