norm {binhf} | R Documentation |
Calculates the root squared error of two vectors.
norm(x,y)
x |
input data vector |
y |
input data vector |
e |
error between the two input vectors |
Matt Nunes (m.nunes@ucl.ac.uk)
#generate data:
x<-y<-runif(100)
error<-norm(x,y)
#this is the difference between the vectors.