R: Euclidean norm

norm {binhf} | R Documentation

## Euclidean norm

### Description

Calculates the root squared error of two vectors.

### Usage

    norm(x,y)

### Arguments

`x` | input data vector
`y` | input data vector

### Value

`e` | error between the two input vectors

### Author(s)

Matt Nunes (m.nunes@ucl.ac.uk)

### Examples

    #generate data:

    x<-y<-runif(100)

    error<-norm(x,y)

    #this is the difference between the vectors.

[Package binhf version 1.0-1 Index]