Skip to content

How to get all the data in a specific column from a dataframe?

3 messages · Vincent Deng, Chuck Cleland, Peter Dalgaard

#
test_frame[,"col3"]

or

subset(test_frame, select = col3)
Vincent Deng wrote:

  
    
#
Chuck Cleland <ccleland at optonline.net> writes:
or 

test_frame$col3