[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-geo
Subject:    Re: [R-sig-Geo] How can I plot categorical raster (using levelplot?) with a proper legend?
From:       Mikhail Titov <mlt () gmx ! us>
Date:       2013-04-30 23:47:45
Message-ID: 9q0r4hrh97i.fsf_-_ () gmx ! us
[Download RAW message or body]

On Tue, Apr 30, 2013 at  6:20 PM, Oscar Perpi=F1=E1n Lamigueiro <oscar.perp=
inan@gmail.com> wrote:
> The levelplot method in the current version of rasterVis is not able to
> work with RATs with more than one variable. I have just uploaded to
> R-Forge a fix to solve this problem. Besides, levelplot has gained a new
> argument (att) to choose which variable you need. Maybe tomorrow this
> new version will be built and available to install. Meanwhile you can
> build it on your own or use a RAT with only one attribute (for example,
> drop the column "class").

Thanks a lot! Dropping "Count" did the trick. I did not think about
dropping a column though I was wondering if it was expected to handle
"Count" in a smart way on its own.

-- =

Mikhail

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic