optimal.tickmarks: Find tickmarks for a given range of the y-axis that best fit...

Description Usage

View source: R/optimal.tickmarks.R

Description

Find tickmarks for a given range of the y-axis that best fit an optimal number of tickmarks you decide. f.i: what if i want to have a graph with 8 tickmarks in a range of 34 to 345

Usage

1
2
3
optimal.tickmarks(i.min, i.max, i.number.ticks = 10,
  i.valid.ticks = apply(expand.grid(c(1, 2, 2.5, 5), 10^(-10:10)), 1, FUN =
  function(x) {     x[1] * x[2] }), i.include.min = F, i.include.max = F)

mem documentation built on June 2, 2018, 1:04 a.m.