find_int: Finding the interacting terms based on the index

View source: R/carrot_functions_rsq.R

find_intR 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)

CARRoT documentation built on Oct. 14, 2023, 1:06 a.m.

Related to find_int in CARRoT...