Learn R Programming

UStatBookABSC (version 1.0.0)

Norm: Computes the Euclidean norm

Description

Computes the Euclidean norm

Usage

Norm(a, na.rm)

Arguments

a
a numeric vector
na.rm
logical

Value

a real number

Examples

Run this code
 x <- c(1, 2)
 Norm(x)



Run the code above in your browser using DataLab