Map elements of a vector according to the provided 'cases'. This
function is useful for mapping discrete values to factor labels and
is the vector equivalent to the
Vector to be converted
Map of alternatives, specified as "name"=value
Value to be assigned to elements of
This function is to
ifelse is to
and is a convenience wrapper for
A factor variables with each element of
x mapped into the
corresponding level of specified in the mapping.
Gregory R. Warnes [email protected]
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.