Learn R Programming

Zelig (version 4.1-1)

retrieve.factors: Retrieve a list of all the factors in the specified column

Description

Retrieve a list of all the factors in the specified column

Usage

retrieve.factors(frames, by = NULL)

Arguments

frames
a list of data.frame objects
by
a character-vector specifying columns to search for factors within

Value

  • a list with entries corresponding to the value of the by parameter. The value of each index is unique values of the data.frame's columns.