GEOmap.CombineStrokes: Combine strokes in a GEOmap list

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/GEOmap.CombineStrokes.R

Description

Combine strokes in a GEOmap list

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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)

GEOmap documentation built on May 30, 2017, 3:58 a.m.

Search within the GEOmap package
Search all R packages, documentation and source code