SETGEN.grptab2list {SETGEN} | R Documentation |
This function converts a data.frame
with sets of variables to a list
)
SETGEN.grptab2list(grptab)
grptab |
A data.frame or matrix with (repeated) names
of the source variables in the first column and names of the member
variables of the sets in the second column. This is the format of the file
with the extension ".details"
optionally created by the function SETGEN . |
A list
of sets of variables as returned by SETGEN.generate.sets
or
SETGEN
and as needed for pre-specifying the sets to be tested
in the parameter grpdata
of the SETGEN
function.
Beck, M.
gt <- cbind(rep(c("g1","g2"),c(3,6)),letters[c(1:3,5:10)]) SETGEN.grptab2list(gt)