ref_goodlabel: Format a vector of labels for markdown

View source: R/ref_goodlabel.R

ref_goodlabelR Documentation

Format a vector of labels for markdown

Description

Format the labels to not have spaces or underscores. Underscores are replaced with dashes.

Usage

ref_goodlabel(label)

Arguments

label

A vector of character values you want to format.

Value

A vector of formatted labels.

Author(s)

Kelli F. Johnson

Examples

ref_goodlabel(c("Bad_label_with_underscores", "Bad label with spaces"))


iantaylor-NOAA/Lingcod_2021 documentation built on Oct. 30, 2024, 6:42 p.m.