Re: [R-sig-Geo] Stplot for discrete data

2015-06-04 Thread Edzer Pebesma
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,

Re: [R-sig-Geo] Stplot for discrete data

2015-06-04 Thread Edzer Pebesma
(not entirely woken up it seems: I meant "stfdf" where I wrote "stplot") On 06/04/2015 12:44 PM, Edzer Pebesma wrote: > 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 v

[R-sig-Geo] R interface to grass 7.1

2015-06-04 Thread Rainer M Krug
Hi I guess you have seen the announcement from Vaclac Petras about the new command line interface to R. This sounds very exciting and I would like to start playing with the R-GRASS 7.1 interface. What would be the best approach concerning git / svn? should I setup my own github for this or should

[R-sig-Geo] plot (wrld_simpl)

2015-06-04 Thread Xing,Yanru
When I used the following code to plot the world country boundary and found out that there is no boundary between South Sudan and North Sudan. Any one know how to solve that? data(wrld_simpl) plot(wrld_simpl,add=TRUE) ___ R-sig-Geo mailing list R-sig

Re: [R-sig-Geo] plot (wrld_simpl)

2015-06-04 Thread Roger Bivand
On Thu, 4 Jun 2015, Xing,Yanru wrote: When I used the following code to plot the world country boundary and found out that there is no boundary between South Sudan and North Sudan. Any one know how to solve that? library(maptools) # by the way - always state packages used data(wrld_simpl)