Learn R Programming

GEOmap (version 2.5-11)

STROKEinfo: Stroke Information

Description

print stroke information from a GEOmap data base

Usage

STROKEinfo(map, w = 1, h = NULL)

Value

data.frame of extracted strokes

Arguments

map

GEOmap data list

w

which strokes to extract, vector of number indices or single string to match names in data base list

h

numeric vector of columns of data base, or vector of characters to match names.

Author

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

Details

Uses grep to match names so can have short names

See Also

gsub

Examples

Run this code

data(coastmap)
STROKEinfo(coastmap, h="nam", w="Indo")

STROKEinfo(coastmap, w="Indo", h=c("nam", "col" ) )


Run the code above in your browser using DataLab