Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

dampack (version 1.0.0)

number_ticks: Number of ticks for ggplot2 plots

Description

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

Usage

number_ticks(n)

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.