variablelist {forsearch} | R Documentation |
For a data frame with factor variables V1, V2, V3, etc having levels n1, n2, n3, etc, lists the n1*n2*n3*... possible interaction levels and identifies which of the observations of the data frame belong in which of these interaction levels.
variablelist(datadf, prank)
datadf |
Data frame of independent variables in analysis. First column of data frame is Observation number |
prank |
Number of continuous variables among independent variables |
Support function, usually not called independently
List, each element is a data frame of 2 columns with code indicating the highest possible level of interaction to which each observation can belong
William R. Fairweather