I want to create a number of data frames which take their name from a list.
eg.
mylist <- c("home", "work", "pub")
for (i in mylist) {
name <- i
Hourly <<- ddply(get(i), .(week = week(StartTime), Place = name)
}
This produces 1 dataframe called Hourly with week and name variables.
What I want is 3 dataframes called home_hourly, work_hourly, pub_hourly each containing their respective 2 variables. How do I produce 3 dataframes, prefixing each with name?