[R] sum of squares function

covfish87 covfish87 at hotmail.co.uk
Sun Nov 13 21:20:42 CET 2011


hi, basic question

how do i write a function that sums the squares of elements in a vector of
any length?

thanks
Adam

--
View this message in context: http://r.789695.n4.nabble.com/sum-of-squares-function-tp4037402p4037402.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list