I am uncertain about how to acknowledge the fact that $ can do partial
matching in the space of about 30 characters. One option is this:
x[[name]] column named name
x$name same as above (almost always)
Is that better or worse than ignoring this issue, or is there an even
better
On 12-11-21 5:20 PM, Matthew Baggott wrote:
I am uncertain about how to acknowledge the fact that $ can do partial
matching in the space of about 30 characters. One option is this:
x[[name]] column named name
x$name same as above (almost always)
How about as above (with
I made an update/reboot of Tom Short's classic and public domain R
Reference Card. His is from late 2004 and I've found myself giving it to
new R users with additional notes about packages.
If anyone knows how to reach Tom, that would be great. I am titling this
reboot Short R Reference, in a
Some issues:
a) I would advocate marking - as not recommended. Anyone who needs this
reference probably should avoid this operator.
b) The $ operator does an approximate match with the name. [[name]] does an
exact match.
c) Matrices are not data frames. Their indexing by the [ operator is
On Nov 20, 2012, at 19:45 , Jeff Newmiller wrote:
a) I would advocate marking - as not recommended. Anyone who needs this
reference probably should avoid this operator.
Could we say not for beginners? I mean, it has legitimate uses. If we say
not recommended, people will remember it as
5 matches
Mail list logo