Skip to content
Prev 258108 / 398502 Next

Empty Data Frame

Hi:

You could try something like

df <- data.frame( expand.grid( Week = 1:52, Year = 2002:2011 ))
dim(df)
head(df)

The first variable changes faster than the second.

HTH,
Dennis

On Wed, Apr 27, 2011 at 1:03 AM, Santosh Srinivas
<santosh.srinivas at gmail.com> wrote: