Skip to contents

Find sensible values to add 2 breaks at for a ggplot2 axis

Usage

sensible_2_breaks(vector)

Arguments

vector

vector fed into ggplot axis you want to define sensible breaks for

Value

vector of length 2. first element descripts upper break position, lower describes lower break