Re: [R] About "SpatioTemporal" Package

2016-07-13 Thread Elham Daadmehr via R-help
aste("ID",60101:60128,sep="") and see what happens. Jim On Wed, Jul 13, 2016 at 8:29 PM, Elham Daadmehr via R-help wrote: >  Dear all, > >  I want to build the data with the structure of STdata (using the >  function "createSTdata()"), I did as the follow

[R] About "SpatioTemporal" Package

2016-07-13 Thread Elham Daadmehr via R-help
  Dear all,  I want to build the data with the structure of STdata (using the function "createSTdata()"), I did as the following: datst=cbind(xy) yy=cbind(y,xx) ID=60101:60128 date=as.numeric(1:13) y1=as.data.frame(t(cbind(yy))) datst1=as.data.frame(cbind(ID,datst)) aa=as.Date(date,