View source: R/utils-mod_heatmap.R
update_curr | R Documentation |
Takes information about the current events and uses it to determine the next list of exposures or outcomes that should be used.
update_curr(key, types, level, clicked, clicked_level = NULL)
key |
The exposures or outcomes 'key'. |
types |
A list of exposure types, where the names match the column names of the key. |
level |
The current level, as an int. |
clicked |
The value that was clicked, or |
clicked_level |
The level the click occured, where applicable. |
A list of exposures or outcomes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.