Generates x labels for histogram-based plots, create_coverageplot
and create_residualplot
Source: R/plotting_utils.R
generate_xlabels.Rd
Generates x labels for histogram-based plots, create_coverageplot
and create_residualplot
Arguments
- histogram_obj
a
Histogram
orHistogramFit
object- n_labels
number of x axis labels
- return_xat
logical, whether to return the indices of the labels, default FALSE, returns the labels
- disjoint
logical, whether to check if the
histogram_obj
contains disjoint intervals. If found only breakpoints will be labelled if no disjoint intervals are found, x labels default to standard
Examples
if (FALSE) {
x <- observations_to_histogram(rnorm(10000))
generate_xlabels(x, n_labels = 5, xat = F, disjoint = F)
}