Skip to content
Prev 245766 / 398506 Next

Extracting a dataframe column as a dataframe

), class = c("POSIXt", "POSIXct"), tzone = ""), price = c(321, 
323.5)), .Names = c("time", "price"), row.names = 1:2, class = "data.frame")
c(321, 323.5)

Is there similar syntax that gets "price" as a (single-column) dataframe? (I
know that I can use "subset(... select = ...)")..
Thank you.