[R-sig-Geo] Function classIntervals in package classInt

Julian Burgos julian at hafro.is
Wed Dec 5 00:03:32 CET 2012


There are many ways, for example, if your data is a vector named "mydata",
you can do something like this:

mydata[!is.na(mydata)]

Julian


> Hello everyone,
>
> I am drawing maps with the function spplot, previously using the function
> "classIntervals" in order to make "pretty" categories of my variables. I
> have noticed this function doesn't accept NA values in the set of data...
> is there any way of telling R that doesn't take the rows containing NA
> values?
>
> Thank you very much!
>
> --
> Ester Polaina Lacambra
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



More information about the R-sig-Geo mailing list