norms: Calculate _all_ norms of a matrix

View source: R/utilities.R

normsR Documentation

Calculate all norms of a matrix

Description

Calculate all norms of a matrix

Usage

norms(M, types = NULL)

Arguments

M

matrix

types

character; optionally, specify the norms you wish to calculate e.g., O, I, F, M, 2

Details

na.omit is used on M prior to calculation

See Also

norm

Other utilities: RMS(), list.txtgz(), pbo_message()

Examples

M <- matrix(1:12,4)
norms(M)
#
# or manually specify
norms(M, c("O","M"))

abarbour/pborepo documentation built on April 27, 2022, 8:47 a.m.