arrayprod: An auxiliary R function to 'array' multiply an array with a...

View source: R/F_arrayProd.R

arrayprodR Documentation

An auxiliary R function to 'array' multiply an array with a vector, kindly provided by Joris Meys

Description

An auxiliary R function to 'array' multiply an array with a vector, kindly provided by Joris Meys

Usage

arrayprod(x, y)

Arguments

x

a axbxc array

y

a vector of length c

Value

a axb matrix. The ij-th element equals sum(x[i,j,]*y)


CenterForStatistics-UGent/RCM documentation built on April 24, 2023, 8:26 p.m.