Home > other >  R language is aggregate time-series data average output result
R language is aggregate time-series data average output result

Time:10-02



X2012 $year<- strftime (X2012 $DateTime, "% Y %")
X2012 $month<- strftime (X2012 $DateTime, "% M %")
X2012 $day<- strftime (X2012 $DateTime, "% D %")

X2012_daily & lt; - aggregate (X2012 [for], by=list (year=X2012 $year, month=X2012 $the month, day=X2012 $day, FUN=scheme, na. The rm=T)

Command, 48 data every day, a year to calculate daily average and on average, but the output of the results don't know how to read, please give advice or comments
  • Related