Skip to contents

Find the magnitude of a vector.

Usage

magnitude(x)

Arguments

x

A numeric vector.

Value

A scalar value (the magnitude of x).