Learn R Programming

GEOmap (version 2.1)

STROKEinfo: Stroke Information

Description

print stroke information from a GEOmap data base

Usage

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

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.

Value

  • data.frame of extracted strokes

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