创建时间段列

时间:2017-12-03 09:43:57

标签: date tabular

我有数据,其中给出了日期,但没有自己的列,因为第一列是AAPL.High,但当我view(data)时,我看到第一列是时间段列。我需要按年选择data我的 AAPL.High AAPL.Low AAPL.Close AAPL.Volume A 2015-06-01 13:30:00 131.31 131.39 130.95 18342 2015-06-01 13:35:00 131.00 131.01 130.63 11334 。但是,如果此列不存在或如何添加时间段列,我该怎么办呢?

class(df$yourcol
#i.e.
df<-data.frame(matrix(1:4,2,2))
class(df$X2)

0 个答案:

没有答案