R/plot_myworld.R

Defines functions plot.myworld

plot.myworld <- function(b) {
  require(maps)
  map()
  c <- b[, 6]
  c[c == 1] <-  "blue"
  c[c == 2] <-  "red"
  c[is.na(c)] <-  "gray"
  points(b[, 2:3], pch = 20, col = c)
}
BrunoVilela/FARM documentation built on May 6, 2019, 8:48 a.m.