[R] (no subject)
Michael Sumner
mdsumner at gmail.com
Sat May 11 03:54:28 CEST 2013
What does ww[["waterused"]] have to do with Maji?
On Sat, May 11, 2013 at 10:07 AM, Smith Freeman <smithifreeman at gmail.com> wrote:
> Hello,
>
> I am attempting to use the "classInt" package in conjunction with
> "rworldmap" package in R to construct a chloropleth. I want to use the
> fixedBreaks argument to specify given breaks.
>
> My data look like this:
>
>> head(Maji)
> Country waterused CC
> 1 Afghanistan 36 AFG
> 2 Albania 4 ALB
> 3 Algeria 52 DZA
> 4 Angola 0 AGO
> 5 Antigua 10 ATG
> 6 Argentina 4 ARG
>
> and when I attempt,
>
>> classInt <- classIntervals(ww[["waterused"]], n=5, style="fixed",
> fixedBreaks=c(0, 25,50,75,100,4565))
> *Warning message:*
> *In classIntervals(ww[["waterused"]], n = 5, style = "fixed", fixedBreaks =
> c(0, :*
> * var has missing values, omitted in finding classes*
>
> I've tried a number of variations of the argument "style" and have not been
> successful and consequently my map is not correct. Do you have any
> suggestions?
>
> Thanks,
>
> Smith
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Michael Sumner
Hobart, Australia
e-mail: mdsumner at gmail.com
More information about the R-help
mailing list