[R] creating functions in R

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Mar 18 11:56:36 CET 2005

Oarabile Ruth Molaodi wrote:

> I am trying to learn how to create my own function in R. I want to 
> create a function that can plot the polygons/regions/map given the 
> coordinates of each region. The function should be able to colour the 
> poplygons according to the data supplied ,for examples the means or 
> rates of disease at a region/polygon.

You might want to take a look at package "maps".

Uwe Ligges

> your advise will be highly appreciated.
> Thanks in advance for your help.
> Oarabile
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list