ssq | R Documentation |
Given two vectors, u and v, of length n, this function computes
\sum_{i=1}^n (u_i - v_i)^2
.
ssq(u,v)
u |
One of the vectors |
v |
The other of the vectors |
Description says all
The sum of squares difference between the two vectors
G P Nason
ssq(c(1,2), c(3,4))
#[1] 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.