Sorry if this is trivial. I see the following behavior in R:
> myDF <- data.frame(Score=5, scoreScaled=1)
> myDF$score
[1] 1
Expected result: returns NULL (even better: throws an error).
I searched for this, but could not find any discussion of this behavior. Can anyone provide any links to this, a rationale for why this is being done, and if there is any way to prevent this? All in all, I would have liked the R version, a bit more rigorous with its variables, but it seems like this will never happen ...
source
share