search for: car4

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

Did you mean: car
2009 Oct 26
1
issue with levels of a factor after subsetting
...w/ 2 levels "CARIBE","PACIFICO": 1 1 1 1 1 1 1 1 1 2 ... The variable "Rio" contents names of 43 rivers in Colombia, now my boss wants me to show just 4 of them in a graph and the other 39 in another, i subsetted them using the following code: #The first 4 Rivers >car4<-car[car$Rio%in%c("Magdalena","Atrato","San Juan","Mira"),] #The other 39 >car5<-car[!car$Rio%in%c("Magdalena","Sin?","Atrato","San Juan","Mira","Micay", "Patia","Canal del D...