mat.opperation: mat.opperation

Description Usage Arguments Value

View source: R/utility.R

Description

allows simple operations between matrix and constant vector. column size of x must equal length of y

Usage

1
mat.opperation(x, y, opperation)

Arguments

x

matrix of column size m, row size n

y

vector of length m

opperation

opperation to use: +, -, *, /

Value

returns n by m matrix where values of y are done onto the columns of x.


jtlandis/aiR documentation built on Dec. 26, 2019, 3:35 a.m.