Convert an ordered factor to a numeric vector.
An ordered factor.
If all levels are numeric they are converted to the same numbers. Else they are converted to 1, 2, 3, ... as per the ordering of the factors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.