GEOmap.Extract function

Extract from GEOmap

Extract from GEOmap

Extract or Exclude parts of a GEOmap list.

GEOmap.Extract(MAP, SEL, INOUT = "out") fastExtract(MAP, SEL, INOUT = "out") GEOmap.limit(MAP, LLlim )

Arguments

  • MAP: GEOmap List
  • SEL: Selection of stroke indeces to include or exclude
  • INOUT: text, "in" means include, "out" means exclude
  • LLlim: vector latlon limits

Returns

  • GEOmap: list

Details

Can either extract from the GEOmap data list with in, or exclude with out. fastExtract is the same but may be faster since it does not process all the strokes in the base GEOmap.

Author(s)

Jonathan M. Leesjonathan.lees@unc.edu

See Also

GEOmap.cat, GEOmap.Extract, GEOmap.CombineStrokes, list.GEOmap, getGEOmap, plotGEOmap, SELGEOmap, boundGEOmap,

Examples

data(coastmap) SEL=which(coastmap$STROKES$nam=="AMERICAS") NSAMER = GEOmap.Extract(coastmap,SEL, INOUT="in" ) plotGEOmap(NSAMER)
  • Maintainer: Jonathan M. Lees
  • License: GPL (>= 2)
  • Last published: 2024-07-09

Useful links