Skip to content
Prev 244280 / 398506 Next

Lists and functions in data.frame?

It sounds like you want to use a "list" instead of a dataframe,
especially if the elements are a different length.
[[1]]
[[1]]$fun
function (x)  .Primitive("sin")


[[2]]
[[2]]$fun
function (x)  .Primitive("cos")

[[2]]$val
[1] 42
On Wed, Dec 8, 2010 at 5:08 AM, Rainer M Krug <r.m.krug at gmail.com> wrote: