Skip to content
Prev 77949 / 398503 Next

dynamic lists (data frames?)

When sapply is used on a character vector it will use those
as the names so:

data <- sapply(as.character(1:5), function(x) seq(as.numeric(x),10))

will give data with the required names.
On 9/27/05, tom wright <tom at maladmin.com> wrote: