search for: df6

Displaying 3 results from an estimated 3 matches for "df6".

Did you mean: df
2010 Nov 11
4
How to get a specific named element in a nested list
Hello, I have a nested named list structure, like the following: x <- list( list( list(df1,df2) list(df3, list(df4,df5)) list(df6,df7))) with df1...d7 as data frames. Every data frame is named. Is there a way to get a specific named element in x? so, for example, x[[c("df5")]] gives me the data frame 5? Thank you in advance! Best, Friedericksen
2007 Sep 27
2
create data frame(s) from a list with different numbers of rows
...one" in very clunky fashion. # here is an example of my code sample.df1 <-data.frame(list.sample[[1]]) sample.df2 <-data.frame(list.sample[[2]]) sample.df3 <-data.frame(list.sample[[3]]) sample.df4 <-data.frame(list.sample[[4]]) sample.df5 <-data.frame(list.sample[[5]]) sample.df6 <-data.frame(list.sample[[6]]) sample.df1 sample.df2 sample.df3 sample.df4 sample.df5 sample.df6 # In the future i will have up to 1,200 of these small dataframes to create. # is there a way to loop through the list and create many small data frames?? # or perhaps make each of the list eleme...
2010 Jan 20
1
Reshaping data with xtabs giving me 'extra' data
...es[2], Show = shows, Score = 1:3) > df3 <- data.frame(Date = dates[1], Time = times[4], Show = shows, Score = 1:3) > df4 <- data.frame(Date = dates[2], Time = times[1], Show = shows, Score = 1:3) > df5 <- data.frame(Date = dates[2], Time = times[2], Show = shows, Score = 1:3) > df6 <- data.frame(Date = dates[2], Time = times[3], Show = shows, Score = 1:3) > df7 <- data.frame(Date = dates[2], Time = times[4], Show = shows, Score = 1:3) > df7 Date Time Show Score 1 2010-01-20 15:30:00 Red Dwarf 1 2 2010-01-20 15:30:00 Being Human 2 3 201...