number_ticks: Number of ticks for 'ggplot2' plots

Description Usage Arguments Value Details

View source: R/add_common_aes.R

Description

Function for determining number of ticks on axis of ggplot2 plots.

Usage

1

Arguments

n

integer giving the desired number of ticks on axis of ggplot2 plots. Non-integer values are rounded down.

Value

a vector of axis-label breaks

Details

Based on function pretty.


dampack documentation built on May 31, 2021, 1:06 a.m.