find_int {CARRoT}R Documentation

Finding the interacting terms based on the index

Description

Function transforms an index of an array of two- or three-way interactions into two or three indices corresponding to the interacting variables

Usage

find_int(ind,N)

Arguments

ind

index to transform

N

number of interacting variables

Value

Returns two or three indices corredsponding to a combination of variables written under the given index

Examples

find_int(28,9)

[Package CARRoT version 3.0.2 Index]