Re: [R] Automating object creation

2009-04-14 Thread Zachary Patterson
ic objects) then x[2] <- ... value ... etc. > >            -s > > On Tue, Apr 14, 2009 at 1:32 PM, Zachary Patterson > wrote: >> I am new to R. I would like to automate the creation of a number of >> vectors but can't seem to get the string formatting to work. >>

[R] Automating object creation

2009-04-14 Thread Zachary Patterson
I am new to R. I would like to automate the creation of a number of vectors but can't seem to get the string formatting to work. Here's what I would like to be able to do: Suppose we have a vector: x <- c(2,4,5) I would like to be able to create a set of vectors whose names are associated with t