R: Combine strokes in a GEOmap list

GEOmap.CombineStrokes {GEOmap} | R Documentation

## Combine strokes in a GEOmap list

### Description

Combine strokes in a GEOmap list

### Usage

    GEOmap.CombineStrokes(MAP, SEL)

### Arguments

`MAP` | GEOmap list
`SEL` | index of strokes to be combined

### Details

Stokes are combined in the order designated by the SEL index vector. The direction of the strokes is not modified - this may have to be fixed so that strokes align properly.

### Value

GEOmap list

`STROKES` | Metadata for strokes
`POINTS` | list, lat=vector, lon=vector

### Author(s)

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

### See Also

GEOmap.cat, GEOmap.Extract, GEOmap.CombineStrokes, list.GEOmap

### Examples

    data(coastmap)
    SEL = which(coastmap$STROKES$nam=="Caribbean")

    CAR =  GEOmap.Extract(coastmap, SEL, INOUT="in" )

    plotGEOmap(CAR, MAPstyle=3, NUMB=TRUE)

    CAR2 = GEOmap.CombineStrokes(CAR, SEL =c(6:15)  )

    plotGEOmap(CAR2, MAPstyle=3, MAPcol='red' , add=TRUE)

[Package GEOmap version 2.4-0 Index]