template_summary: Template for matrix summaries along a given dimension

Description Usage Arguments Value

View source: R/matrices.R

Description

Template for matrix summaries along a given dimension

Usage

1
template_summary(fcn_all, fcn_1, fcn_2)

Arguments

fcn_all

function to apply when dim = 'all'

fcn_1

function to apply when dim = '1', i.e. over rows

fcn_2

function to apply when dim = '2', i.e. over columns

Value

function that computes summary statistics of a matrix over all entries, rows or columns


unoe/noe documentation built on Nov. 5, 2019, 11:05 a.m.