format_label: Better label formatting to avoid overlapping

View source: R/utils.R

format_labelR Documentation

Better label formatting to avoid overlapping

Description

Better label formatting to avoid overlapping

Usage

format_label(labels, accuracy)

Arguments

labels

a numerical vector of labels

accuracy

the accuracy of the label

Value

a vector of adjusted labels

Examples

format_label(c(0.87, 0.87, 0.9, 0.93, 0.95), 0.01)
format_label(c(0.87, 0.87, 0.9, 0.93, 0.95, 0.96, 0.96), 0.01)

ferrn documentation built on Aug. 6, 2022, 5:08 p.m.