gausscov (version 1.1.2)

fgeninter: Generation of interactions

Description

Generates all interactions of degree at most ord

Usage

fgeninter(x,ord)

Value

xx All interactions of order at most ord.

intx Decomposes a given interaction covariate of xx

Arguments

x

Covariates

ord

Order of interactions

Examples

Run this code
data(boston)
bostint<-fgeninter(boston[,1:13],2)[[1]]

Run the code above in your browser using DataLab