Displaying 1 result from an estimated 1 matches for "rescity".
Did you mean:
reality
2012 Mar 20
2
Unique in DataFrame
...e a list of cities
and the code that was assigned in.
x$num<-as.numeric(as.numeric(factor(x$city)))
here seems to work fine, but the largest dataset repeats some values ??and
hiding others, this is the correct way to present unique values ??in a
column, and view the contents with other columns
rescity<-x[unique(x$city),c(3,1)]
rescity
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Unique-in-DataFrame-tp4488943p4488943.html
Sent from the R help mailing list archive at Nabble.com.