norm: Euclidean norm

Description Usage Arguments Value Author(s) Examples

Description

Calculates the root squared error of two vectors.

Usage

1
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

1
2
3
4
5
6
7
8
#generate data:

x<-y<-runif(100)

error<-norm(x,y)


#this is the difference between the vectors.

binhf documentation built on May 2, 2019, 4:07 p.m.

Related to norm in binhf...