inverse | R Documentation |
Given a mapping
x
, return the inverse mapping.
inverse(x)
x |
A |
The inverse mapping
.
sex.mapping <- mapping(c("Female", "F", "Male", "M"), c(0, 0, 1, 1))
sex.inverse.mapping <- inverse(sex.mapping)
sex.inverse.mapping(c(0, 0, 1, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.