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.


DARTH-git/dampack documentation built on Aug. 8, 2021, 2:58 a.m.