Generates all interactions of degree at most ord
fgeninter(x, ord, inr = TRUE)
Covariates
Order of interactions
Logical to include intercept
xx All interactions of order at most ord.
# NOT RUN { data(boston) bostinter<-fgeninter(boston[,1:13],7)[[1]] # }
Run the code above in your browser using DataLab