Get or set display names of columns on a data frame
1 2 3 4
a column in a data frame
a data frame
a character vector
In EDP, columns in a population can have "display names," which are
human-readable names, often longer than the regular
display_name<- get and set these on a single
display_names<- get and set them on
all columns of a data frame at once. The setters are used when preparing a
data frame to build a population from. The getters can be applied to results
display_name returns a single-element character-vector.
display_names returns a character vector with as many elements as the
data frame has columns. If a column has no display name set, the
corresponding element will be
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.