[R] Plot map by region using kasc and adehabitat

Paul Hiemstra paul.hiemstra at knmi.nl
Wed Sep 21 09:20:17 CEST 2011


 On 09/21/2011 01:39 AM, Alex Olssen wrote:
> Dear R-help,
>
> I have a raster map which has a measure of profitability of land by
> parcel over several regions of geographic aggregation (think of
> counties).  This data is stored in an ASCII file.  If I type
>
> plot(profit)
>
> I get a raster map of profit per parcel for all regions.  I want to
> plot separate maps for each county.  I used kasc to combine the profit
> map with a county map from a separate ASCII file.
>
> data.kasc <- as.kasc(list(profit, county))
>
> Can anyone help me plot profit maps for each county separately?
>
> Kind regards,
> Alex
>
> ______________________________________________
> 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.

...to make us more willing to answer the question:

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and *provide commented, minimal, self-contained, reproducible code.*

Paul

-- 
Paul Hiemstra, Ph.D.
Global Climate Division
Royal Netherlands Meteorological Institute (KNMI)
Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39
P.O. Box 201 | 3730 AE | De Bilt
tel: +31 30 2206 494

http://intamap.geo.uu.nl/~paul
http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770



More information about the R-help mailing list