[R-sig-Geo] Stplot for discrete data

Katharine Walter katharine.walter at yale.edu
Wed Jun 3 23:34:52 CEST 2015


Hi, I am trying to use the spacetime package to plot a timeseries of
discrete data.  My dataset consists of the values: 0, 1, NA.  Is there a
way to plot each value in a different color and construct a key indicating
these discrete values?

I am plotting with the following command which automatically generates a
color ramp from 0 to 1: stplot(stfdf[,,"report"], names.attr=year).

Thank you for your help and for providing an excellent package.

Best,

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list