Re: [R] Name assignment in for loop

2012-11-10 Thread nrm2010
ehalf Of nrm2010 >Sent: Friday, 2 November 2012 10:16 a.m. >To: r-help@r-project.org >Subject: [R] Name assignment in for loop > > > >Dear helpeRs- > >I'm using a for loop to create a series of models. >I'm trying to assign a name to each model created, u

Re: [R] Name assignment in for loop

2012-11-01 Thread Bert Gunter
0 > Sent: Friday, 2 November 2012 10:16 a.m. > To: r-help@r-project.org > Subject: [R] Name assignment in for loop > > > > Dear helpeRs- > > I'm using a for loop to create a series of models. > I'm trying to assign a name to each model created, using the loo

Re: [R] Name assignment in for loop

2012-11-01 Thread Peter Alspach
ubject: [R] Name assignment in for loop Dear helpeRs- I'm using a for loop to create a series of models. I'm trying to assign a name to each model created, using the loop index. The loop gets stuck at the name of the model, giving the error "target of assignment expands to no

Re: [R] Name assignment in for loop

2012-11-01 Thread David Winsemius
On Nov 1, 2012, at 2:16 PM, nrm2010 wrote: > > > Dear helpeRs- > > I'm using a for loop to create a series of models. > I'm trying to assign a name to each model created, > using the loop index. The loop gets stuck at the name > of the model, giving the error "target of assignment > expan

[R] Name assignment in for loop

2012-11-01 Thread nrm2010
Dear helpeRs- I'm using a for loop to create a series of models. I'm trying to assign a name to each model created, using the loop index. The loop gets stuck at the name of the model, giving the error "target of assignment expands to non-language object". The linear model runs without er