variablelist {forsearch}R Documentation

Identify Level(s) to Which Each Factor Observation Belongs

Description

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.

Usage

variablelist(datadf, prank)

Arguments

datadf

Data frame of independent variables in analysis. First column of data frame is Observation number

prank

Number of continuous variables among independent variables

Details

Support function, usually not called independently

Value

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

Author(s)

William R. Fairweather


[Package forsearch version 6.2.0 Index]