Re: [R] missing values are not allowed in subscripted assignments of data frames

2013-01-21 Thread arun
ta3,4)  #    commNo  Col2 #1   787  9.397092 #2   789  9.527834 #4   787  9.714226 #5 Name of the Community 10.138108 A.K. - Original Message - From: David Studer To: r-help@r-project.org Cc: Sent: Monday, January 21, 2013 1

Re: [R] missing values are not allowed in subscripted assignments of data frames

2013-01-21 Thread arun
ar to the ones that you got. A.K. - Original Message - From: David Studer To: r-help@r-project.org Cc: Sent: Monday, January 21, 2013 10:35 AM Subject: [R] missing values are not allowed in subscripted assignments of data frames Hello everybody! I am trying to replace community number

Re: [R] missing values are not allowed in subscripted assignments of data frames

2013-01-21 Thread David Winsemius
On Jan 21, 2013, at 7:35 AM, David Studer wrote: Hello everybody! I am trying to replace community numbers with community names (character). I am using the following code: data[data$commNo==786, "commNo"]<-"Name of the Community" data$commNo is probably a factor. As such the equality te

Re: [R] missing values are not allowed in subscripted assignments of data frames

2013-01-21 Thread S Ellison
> I am trying to replace community numbers with community > names (character). > I am using the following code: > > data[data$commNo==786, "commNo"]<-"Name of the Community" > > Unfortunately, I get the error message > missing values are not allowed in subscripted assignments of > data frame

[R] missing values are not allowed in subscripted assignments of data frames

2013-01-21 Thread David Studer
Hello everybody! I am trying to replace community numbers with community names (character). I am using the following code: data[data$commNo==786, "commNo"]<-"Name of the Community" Unfortunately, I get the error message missing values are not allowed in subscripted assignments of data frames