powered by
Generates all interactions of degree at most ord excluding powers of 0-1 covariates
fgeninter(x,ord,inr=T,idv=0)
Covariates
Order of interactions
Logical to include intercept
List of 0-1 dummy covariates
xx All interactions of order at most ord.
# NOT RUN { data(boston) bostinter<-fgeninter(boston[,1:13],2)[[1]] # }
Run the code above in your browser using DataLab