grapes-star-grapes: Column product matrix

Description Usage Arguments Value

Description

Forms all pairwise products of the columns of X and Y suitable for interaction terms in linear modeld and their allies

Usage

1
X %star% Y

Arguments

X, Y

Numeric matrices with the same number of rows

Value

A matrix of products with nrow(X) rows and ncol(X)*ncol(Y) columns


BillVenables/WWRCourse documentation built on Jan. 31, 2021, 4:22 p.m.