Skip to content
Prev 310043 / 398506 Next

a simple list question

Dear R People

I have a simple list question, please:

I have vectors x.1, x.2,...x.n (each of different lengths) and I would
like to combine them into a list.

However, I'm sure that there is a better way to do this than to type
in x <- list(x.1,x.2,x.3,...)


Is there a better way to do this, please?  I was thinking about
possibly using grep?

Thanks,
Sincerely,
Erin