Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


inldata (version 1.0.3)

labels: Map Labels

Description

Map labels in the vicinity of Idaho National Laboratory, eastern Idaho.

Usage

labels

Arguments

Format

A SpatialPointsDataFrame of the sp package with 50 features and 7 variables:

labels

text to be written

cex

character expansion factor

col, font

color and font to be used, respectively.

srt

string rotation in degrees.

halo

if true, a "halo" is printed around text.

map

map index

See projection dataset for coordinate reference system information.

Examples

Run this code
# NOT RUN {
inlmisc::PlotMap(labels, dms.tick = TRUE)
lab <- labels[labels$map == 1L, names(labels) != "map"]
for (i in seq_along(lab))
  do.call(raster::text, c(lab[i, ], as.list(lab@data[i, ])))
str(labels@data)

# }

Run the code above in your browser using DataLab