SETGEN.grplist2tab {SETGEN}R Documentation

Convert a list of sets of variables to a data.frame

Description

This function converts a list of sets of variables to a data.frame that can be written to a text file.

Usage

SETGEN.grplist2tab(grplist)

Arguments

grplist A list of sets of variables as returned by SETGEN.generate.sets or SETGEN.

Value

A data.frame as optionally stored in the file with the extension ".details" by the function SETGEN. It has two columns. The first column contains the (repeated) names of the source variables and the second contains the names of the member variables of the corresponding sets.

Author(s)

Beck, M.

See Also

SETGEN.grptab2list

Examples

gl <- list(g1=letters[1:3],g2=letters[5:10])
SETGEN.grplist2tab(gl)

[Package SETGEN version 0.1 Index]