Previous: Variables Up: Variables Next: Types of Variables

Classes of Variables

R variables come in several types. Certain Zelig models require dependent variables of a certain class of variable. (These are documented under the manual pages for each model.) Use class(variable) to determine the class of a variable or class(data$variable) for a variable within a data frame.



Subsections

Gary King 2011-11-29