Displaying 1 result from an estimated 1 matches for "tp3466657p3466672".
Did you mean:
tp3466657p3466657
2011 Apr 21
6
What does the "<<-" operator mean?
I've been reading some code from an example in a blog post (
http://www.maxdama.com/ here ) and I came across an operator that I hadn't
seen before. The author used a <<- operator to update a variable, like so:
ecov_xy <<- ecov_xy+decay*(x[t]*y[t]-ecov_xy)
At first I thought it was a mistake and tried replacing it with the usual <-
assignment operator, but I didn't