Re: [R] attributing values to dataframe positions following eval

2008-07-08 Thread Greg Snow
a variable of interest. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Stephane Bourgeois > Sent: Tu

Re: [R] attributing values to dataframe positions following eval

2008-07-08 Thread John Kane
Does not just polyList[[1]])[1, 1] <- 5 work? --- On Tue, 7/8/08, Stephane Bourgeois <[EMAIL PROTECTED]> wrote: > From: Stephane Bourgeois <[EMAIL PROTECTED]> > Subject: [R] attributing values to dataframe positions following eval > To: r-help@r-project.org > Rece

[R] attributing values to dataframe positions following eval

2008-07-08 Thread Stephane Bourgeois
Hi everybody, I've been looking around, but can't seem to find the answer. I get a list of names (which vary, so I never know them in advance), and transform them into variables, each of which is a dataframe, using assign: polyList <- c("rs123", "rs124", "rs555", "rs000") numPoly <- le