replaceCharWithNumeric | R Documentation |
When a user supplies character strings to subset a cube, we need to translate it into a numeric index to subset the cube. This function does that as well as some error checking. It is broken out for testing.
replaceCharWithNumeric(cat_names, idx, visible = TRUE)
cat_names |
The category names for a given dimension |
idx |
The index |
visible |
whether or not a category is visible to the user |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.