Learn R Programming

GEOmap (version 2.5-11)

GEOmap.Extract: Extract from GEOmap

Description

Extract or Exclude parts of a GEOmap list.

Usage

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

Value

GEOmap

list

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

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

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.

See Also

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

Examples

Run this code
data(coastmap)
SEL=which(coastmap$STROKES$nam=="AMERICAS")
NSAMER =  GEOmap.Extract(coastmap,SEL, INOUT="in" )
plotGEOmap(NSAMER)

Run the code above in your browser using DataLab