powered by
createGroupsSim(G, p)
var2group
p
group2var
G
sizes
p/G
createData
grp <- createGroupsSim(G=3, p=15) # Which covariates are in group 2? Two ways to find out: which(grp$var2group == 2) grp$group2var[[2]]
Run the code above in your browser using DataLab