Learn R Programming

CARRoT (version 3.0.2)

find_int: 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)

Value

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

Arguments

ind

index to transform

N

number of interacting variables

Examples

Run this code
find_int(28,9)

Run the code above in your browser using DataLab