Learn R Programming

tilting (version 1.1)

col.norm: Compute the L2 norm of each column

Description

The function returns a vector containing the L2 norm of each column for a given matrix.

Usage

col.norm(X)

Arguments

X
a matrix for which the column norms are computed.

Value

A vector containing the L2 norm of the columns of X is returned.