ssq | R Documentation |
Given two vectors, u and v, of length n, this function computes sum((u-v)^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.