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
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
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
> 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
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
5 matches
Mail list logo