Skip to content
Prev 82022 / 398503 Next

extracting rows of a dataframe

The key things here are:

1) a data frame is a list with some attributes (unlike a
matrix which is (generally) an atomic vector with attributes).

2) 'as.vector' removes attributes.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")
Robin Hankin wrote: