Displaying 1 result from an estimated 1 matches for "micay".
Did you mean:
micah
2009 Oct 26
1
issue with levels of a factor after subsetting
...he 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=car4[car4$Var%in%c("NT","PO4","HDD","CTE",
"SST","OCT"),],layout=c(2,3),...