Displaying 1 result from an estimated 1 matches for "fy11_q4".
Did you mean:
f11_64
2011 Jun 09
3
How to subset based on column name that is a number ?
...subset based on the values in the first column. None of the methods I tried
worked (below).
x <- subset(dframe, 1 = = "My Text")
x <- subset(dframe, "1" = = "My Text")
x <- subset(dframe, names(dframe)[1] = = "My Text")
Q <- dframe[1 = = "FY11_Q4",]
Q <- dframe['1'=="FY11_Q4",]
Q <- dframe[names(dframe)[1]=="FY11_Q4",]
Might anyone have a suggestion?
Many thanks,
Mauricio
[[alternative HTML version deleted]]