Skip to content

hash access to data.frame uses prefix? (PR#10474)

1 message · Brian Ripley

#
If you do want only exact matching, use match().  E.g. in your example

x[match("V41", row.names(x)), ]

will give NA as you expected for a construction documented to do something 
else.
On Wed, 28 Nov 2007, Prof Brian Ripley wrote: