computeTickInterval: Calculate nice tick intervals for a scale.

View source: R/computeTickInterval.R

computeTickIntervalR Documentation

Calculate nice tick intervals for a scale.

Description

Function to calculate nice tick intervals for a scale based on a range and the desired number of ticks.

Usage

computeTickInterval(rng, nticks = 5)

Arguments

rng
  • the nominal range for the scale [i.e., c(min,max)]

nticks
  • the desired number of ticks

Details

None.


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.