map.labels: Map Labels

Description Usage Format Source Examples

Description

Map labels in the Wood River Valley and surrounding areas.

Usage

1

Format

An object of SpatialPointsDataFrame class containing 40 points with the following variables:

label

text to be written.

cex

character expansion factor

col,font

color and font to be used, respectively.

srt

string rotation in degrees.

Geographic coordinates are in units of meters, in conformance with the North American Datum of 1983 (NAD 83), and placed in the Idaho Transverse Mercator projection (IDTM).

Source

Best estimates of map label locations.

Examples

1
2
3
4
5
6
sp::plot(map.labels, col = "red")
lab <- cbind(map.labels@coords, map.labels@data)
for (i in seq_len(nrow(lab))) {
  text(lab$x[i], lab$y[i], labels = lab$label[i], cex = lab$cex[i],
       col = lab$col[i], font = lab$font[i], srt = lab$srt[i])
}

USGS-R/wrv documentation built on June 30, 2020, 11:07 p.m.