grapes-less-than-times-greater-than-grapes: Multiplies matrices after matching the rows of one to the...

Description Usage Arguments Value

Description

This is a custom infix operator: column names of the first with the rows of the second. This works only if the first matrix has column names and the second has row names, so they can be matched.

Usage

1
m1 %<*>% m2

Arguments

m1

First matrix

m2

Second matrix

Value

A matrix with nrow(m1) rows and ncol(m2) columns.


dgrtwo/drlib documentation built on Oct. 11, 2019, 6:42 a.m.