STROKEinfo | R Documentation |
print stroke information from a GEOmap data base
STROKEinfo(map, w = 1, h = NULL)
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. |
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. Lees<jonathan.lees@unc.edu>
gsub
data(coastmap)
STROKEinfo(coastmap, h="nam", w="Indo")
STROKEinfo(coastmap, w="Indo", h=c("nam", "col" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.