i am using mac OSX 10.7.5, running R version 2.15.2 (2012-10-26) -- "Trick or 
Treat"

when i do:
uncountry <- unique(wvsAB[,7])
wvsAB$numcountry <- match(wvsAB$country, uncountry)
"unstate" isn't attaching.

> library(base)
> uncountry <- unique(wvsAB[,7])
> wvsAB$numcountry <- match(wvsAB$country, uncountry)
> ls(wvsAB)
 [1] "age"        "country"    "cpi"        "dem"        "diversity"  "educ"    
   "gender"     "income"    
 [9] "net"        "numcountry" "trust" 

thanks in advance for any help.



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to