leg.fun: Continuous or categorical legend

View source: R/leg_fun.r

leg.funR Documentation

Continuous or categorical legend

Description

Continuous or categorical legend

Usage

leg.fun(
  b,
  pal,
  leg.title,
  top.val = 0.8,
  bot.val = 0.2,
  mid.v.val = NULL,
  x.max = 0.3,
  x.min = 0.1,
  mid.val = NULL,
  txt.offset.val = -0.01,
  txt.y = NULL,
  leg.txt = NULL,
  txt.cex = 0.75,
  txt.adj = 0,
  txt.pos = 4,
  txt.offset = 0.5,
  title.cex = 0.8,
  title.pos = 3,
  title.adj = 0,
  title.x = NULL,
  title.y = NULL,
  labs = NULL,
  n.bks = NULL,
  leg.type = c("continuous", "categorical"),
  ...
)

Arguments

b

breaks or data range

pal

color pallette

leg.title

legend title

Value

This function returns water quality dataset from the SFWMD monitoring network (https://apps.sfwmd.gov/WAB/EnvironmentalMonitoring/index.html). This function assumes some familiarity with the District monitoring network and data management. .


SwampThingPaul/AnalystHelper documentation built on May 15, 2024, 1:32 p.m.