This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include: "Matrix", "Hermitian", "LowerTriangular", "UpperTriangular", "UnitLowerTriangular", "UnitUpperTriangular". "eigen.Hermitian", "svd.Matrix".
norm(x, type)
library(Matrix) x <- Matrix( rnorm(9), 3, 3) norm(x, type = "1" ) # one-norm of x (maximum column sum)