Skip to content
Prev 22911 / 29559 Next

Stplot for discrete data

try converting variable report into a factor, by

stplot$report = factor(stfdf$report)

and give them meaningful levels if you want to see those in the legend.
The NA values will be missing from the plot, intentionally; if you'd
want to see them, give them another value before conversion to factor,
e.g. by:

stplot$report[is.na(stplot$report)] = 2
On 06/03/2015 11:34 PM, Katharine Walter wrote: