build.interactions: Building Interactions

View source: R/build.interactions.R

build.interactionsR Documentation

Building Interactions

Description

Builds interactions found from logic forest fit

Usage

build.interactions(
  fit,
  test.data,
  n_ints = NULL,
  remove_negated = FALSE,
  req_frequency = NULL
)

Arguments

fit

Fitted logic regression tree object containing outcome, model type, and logic tree information.

test.data

Any dataset that contains the variables to create the interactions

n_ints

Max number of interactions to build

remove_negated

Whether to build interactions that consist of only negated PIs (True/False)

req_frequency

Minimum frequency required to build interaction (0-1)

Details

This function creates the interactions in the data that are found via logic forest.

Value

A dataframe containing the the input dataframe and the interactions built from logic forest.

Author(s)

Andrew Gothard andrew.gothard@osumc.edu

References

Wolf BJ, Hill EG, Slate EH. Logic Forest: an ensemble classifier for discovering logical combinations of binary markers. Bioinformatics. 2010;26(17):2183–2189. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/bioinformatics/btq354")}

See Also

logforest


LogicForest documentation built on Feb. 14, 2026, 1:08 a.m.