Displaying 1 result from an estimated 1 matches for "tp3774850p3774946".
2011 Aug 28
2
Function won't permanently assign values to a vector
I'm somewhat new to R, but I've had a lot of experience in Java.
I'm working on a function that takes data from a data frame, does some math
and assigns the values to a vector. Pretty simple. I plan to merge the
vector with the data frame when I'm done.
The vector is called offense1 (there will eventually be 2). I declared it on
its own, outside of the function. Right now its