Skip to content
Prev 300171 / 398521 Next

variable (column) in a data frame

On 2012-07-15 08:41, Paulo Barata wrote:
You could wean yourself from the $-habit. It's convenient but can
lead to the problems you're experiencing (and this has been
discussed before). For programming, if you're prone to make
spelling errors, you should prefer df[, "aaa"]. See ?Extract.

Peter Ehlers