makeTicks: Makes ticks for use in GMT scale bar

Description Usage Arguments Value

Description

Writes tick positions to ticks.dat for later use in runGMT Writes labels and label positions to labels.dat for later use in runGMT

Usage

1
2
makeTicks(counts, isLog = FALSE, showMax = TRUE, hexMax = NULL,
  addMin = TRUE, adjustScale = 1, addPlus = TRUE)

Arguments

counts

Vector of counts to make ticks for

isLog

If true counts have previously been transformed round(log(counts)*100)

showMax

Add the maximum hex count to the scale and filter out any labels too close to it

hexMax

Counts have previously been capped at hexMax. Also adds "+" to hexMax label (e.g. "100+") if isLog is false

addMin

If true makes sure the minimum scale value is at most 1 (0 if isLog is TRUE)

adjustScale

Multiply the scale by this e.g. adjustScale=100 would give percent

addPlus

Add a "+" to hexMax label?

Value

Invisible NULL


sherrillmix/GMTHexMapR documentation built on May 29, 2019, 9:23 p.m.