search for: car5

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

Did you mean: car
2009 Oct 26
1
issue with levels of a factor after subsetting
...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 Dique","Iscuand?","Guapi"),] And I plot the two graphs using: xyplot(Valor~A?o|Var,groups=Rio,data=ca...