\HeaderA{L2.norm}{L2 norm of a given vector}{L2.norm}
\keyword{misc}{L2.norm}
\begin{Description}\relax
A function for calculating the L2 norm of a given \code{numeric vector}.
\end{Description}
\begin{Usage}
\begin{verbatim}
L2.norm(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A \code{numeric} vector.
\end{ldescription}
\end{Arguments}
\begin{Value}
The function returns the L2 norm of the given vector \code{x}.
\end{Value}
\begin{Author}\relax
Jasmina Bogojeska
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{L1.dist}{L1.dist}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## Define a numeric vector
y <- c(1, 2, 3, 4)

## Calculate the L2 norm of the vector y
L2.norm(y)
\end{ExampleCode}
\end{Examples}

