
Last chance! 50% off unlimited learning
Sale ends in
given a model matrix with main effects only, add interactions
implementInteractions.fnc(m)
a (model) matrix (rows observations, columns predictors)
an updated (model) matrix
not intended for independent use
# NOT RUN {
# }
# NOT RUN {
not intended for independent use
# }
Run the code above in your browser using DataLab