Sorry about the previous partial message. My email screwed up. Here's
the complete message:
df.set <- function(...){
dots <- list(...) # all those objects in a list
lapply(dots,summary)
}
Cheers,
Bert
On Mon, Oct 14, 2013 at 8:59 AM, Bert Gunter wrote:
> A minor quibble.
>
> I
A minor quibble.
I would argue that R best practice would be to keep the summarization
and printing separate; viz
df.set <- function(...){
dots <- list(...) # all those objects in a list
}
On Mon, Oct 14, 2013 at 8:43 AM, Rui Barradas wrote:
> Hello,
>
> You should put all those data
Hello,
You should put all those data frames in a list and then use the list
(just one object).
But if you have several objects in your workspace and need to write a
function that accepts a varying number of arguments, use the dots argument:
df.set <- function(..., by){
dots <- list(..
Hi
I will not answer your question directly but instead I have some recommendation
for you. If you can put these data frames to one list object when you creates
them, you can save yourself a lot of troubles.
some.list<-vector("list", n)
for (i in 1:n) {
some.list[[i]] <- some extensive computat
4 matches
Mail list logo