Displaying 1 result from an estimated 1 matches for "rdpli".
Did you mean:
repli
2011 Apr 27
2
Empty Data Frame
Dear Group,
Is there a more efficient way to create a data frame structure (using rep I
guess?)
require(plyr)
week <- rdply(10, data.frame(week = 1:52))
names(week) <- c("Year", "Week")
week$Year <- week$Year + 2000
Basically trying to create a year and week data frame to start appending
data to for a ggplot.
Many thanks.
[[alternative HTML version deleted]]