R: Extract from GEOmap

GEOmap.Extract {GEOmap} | R Documentation

## 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 )

### 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

### 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.

### Value

`GEOmap` | list

### Author(s)

Jonathan M. Lees<jonathan.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)

[Package GEOmap version 2.4-0 Index]