coding | R Documentation |
A 'coding' object holds a list of 'code's that map vector values to human readable labels. An abstraction of factors, this data structure is designed to be portable and not directly attached to the underlying data. Moreover, 'coding' objects can be "linked" for recoding and data lineage purposes. An "empty coding" is used to represent data that has no categorical interpretation.
coding(..., .label = NULL)
empty_coding()
... |
A collection of 'code' objects |
.label |
A label for this coding, available for interoperability |
A 'coding' object that contains each 'code' input
coding(code("Yes", 1), code("No", 0), code("Not applicable", NA))
empty_coding()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.