Stroke Information
print stroke information from a GEOmap data base
STROKEinfo(map, w = 1, h = NULL)
map
: GEOmap data listw
: which strokes to extract, vector of number indices or single string to match names in data base listh
: numeric vector of columns of data base, or vector of characters to match names.Uses grep to match names so can have short names
data.frame of extracted strokes
Use gsub to change the names of strokes.
Jonathan M. Leesjonathan.lees@unc.edu
gsub
data(coastmap) STROKEinfo(coastmap, h="nam", w="Indo") STROKEinfo(coastmap, w="Indo", h=c("nam", "col" ) )
Useful links