Thanks Ilai this helped.
Cheers,
Nino
Il 16/02/2012 23:15, ilai ha scritto:
# All days in years 2006 to 2009 by month in 48 (12x4) files.
days<- seq(as.Date("2006/1/1"), as.Date("2009/12/31"),by="day") # one
long vector
out<- paste(rep(format(days,'%d%m%y'),each=2),c('aaa','bbb'),sep='_')
# re
# All days in years 2006 to 2009 by month in 48 (12x4) files.
days <- seq(as.Date("2006/1/1"), as.Date("2009/12/31"),by="day") # one
long vector
out <- paste(rep(format(days,'%d%m%y'),each=2),c('aaa','bbb'),sep='_')
# reformat to style
month <- factor(rep(format(days,'%B%y'),each=2)) # group by
On Thu, Feb 16, 2012 at 05:32:15PM +0100, Nino Pierantonio wrote:
> Dear All,
>
> I am pretty new to R and thus my question may sound silly.
>
> Is there a way to automatically generate a series of separate vectors
> (so not arranged in a matrix), without typing and changing every time
> the va
Dear All,
I am pretty new to R and thus my question may sound silly.
Is there a way to automatically generate a series of separate vectors
(so not arranged in a matrix), without typing and changing every time
the values, and store them as separate *xlsx file, where the "*" is
replaced by the
4 matches
Mail list logo