Displaying 1 result from an estimated 1 matches for "gapfun".
Did you mean:
afun
2005 Mar 09
1
Flattening a list of data frames
...(x=c(2,4,7,9),y=c(2,3,5,4))
z <- list(a,b)
# Do "something" to get the equivalent of rbind(z[[1]],z[[2]])
???
More complex version:
My data is in this format because it's the output of a "by" statment
that looks like this:
y <- by(d,list(d$StudentID,d$Assignment),gapfun)
(where gapfun is a function I've defined that takes a data frame and
returns another data frame).
What I would like is to do is transform y into a data frame that has
columns "StudentID", "Assignment", and the columns in the data frame
returned by gapfun.
Any ideas?...