Re: [R] How to get all the data in a specific column from a dataframe?

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Sat 04 Feb 2006 - 03:13:24 EST

Chuck Cleland <ccleland@optonline.net> writes:

> test_frame[,"col3"]
>
> or
>
> subset(test_frame, select = col3)

or

test_frame$col3

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Feb 04 03:20:42 2006

This archive was generated by hypermail 2.1.8 : Sat 04 Feb 2006 - 15:00:18 EST