Skip to content
Prev 25680 / 398502 Next

more on vectoring a simple for

The same principle applies, as long as f() and g() are vector functions.

i.e. sum(F(beta[-i])) = sum(F(beta)) - F(beta[i])
where F() = f()/g()

Viz:
[1] 0.2953548 0.1220680 0.1732868
[1] 0.2953548 0.1220680 0.1732868
Ray
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._