[R-sig-Geo] plotting STSDF objects
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Mon May 5 07:59:18 CEST 2014
On 05/05/2014 01:20 AM, Katharine Walter wrote:
> Hi,
>
> I am using the spacetime package to create plots of disease spread across a
> landscape. I have a sparse dataframe and am having trouble using the
> stplot function to show all of the spatial polygons in a sparse dataframe
> (ie I would like to plot all the spatial polygons, even those representing
> townships with no case reports during the time period).
>
> I have used the following code:
> stplot(stsdf[,,"lyme_cases"], t, col.regions = brewer.pal(9,
> "YlOrRd"),cuts=9)
>
> I was wondering if this was the correct syntax for stplot for an STSDF
> object and also what exactly the "signature" means in the Methods section
> of stplot:
> signature(x = "STSDF"): plots object of class STSDF
In the "Methods" section of the man page for stplot, the prhrase
stplot ‘signature(x = "STSDF")’: plots object of class STSDF
refers to, "a call to method stplot where object x is of class STSDF"
>
> Thank you very much for your help!
> Best,
>
> [[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
>
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795
More information about the R-sig-Geo
mailing list