make_labels_categories: Make Categories labels

Description Usage Arguments Details Value See Also Examples

View source: R/make_labels.R

Description

Make labels with the format expected for an object of class "Categories" (as defined in the demarray package). This functions would not normally be called directly by end users.

Usage

1

Arguments

x

A character vector.

Details

x is a character vector, with no duplicates or blanks (ie strings with zero characters, "").

Value

A character vector

See Also

make_labels_triangles, make_labels_directions, make_labels_quantiles, make_labels_integers, make_labels_intervals, make_labels_quantities, make_labels_quarters, make_labels_months, make_labels_dateranges, make_labels_datepoints

Examples

1
2
3
4
make_labels_categories(x = c("Nigeria",
                             "Ethiopia",
                             NA,
                             "South Africa"))

johnrbryant/demprep documentation built on Dec. 31, 2021, 11:58 a.m.