search for: grade6da

Displaying 1 result from an estimated 1 matches for "grade6da".

2005 Nov 23
1
adding variables to a data set/combining two data sets
...other table. This second table also includes a variable called dacode and I have also used dacode for the rownames. I want to pull a number of the variables from the socioeconomic status data into the first table but I'm having no luck. Here's what I have tried so far: #first attempt grade6DA$ses1 <- sesdata$ses1[as.character(grade6DA$dacode)] All that this does is create a new column in the grade6DA data set and calls it ses1 but then fills it with NA. #second attempt grade6DA$ses1 <- sesdata$ses1[grade6DA$dacode] Neither approach has worked so I've ended up combini...