has_changed | R Documentation |
Depreciated please use has_updated instead: Takes a UI element value and an older value and determines if it has been modified
has_changed(ui_val = NULL, old_val = NULL, init_value = c(""))
ui_val |
Current value from the UI. |
old_val |
Last value of of the element. |
init_value |
Default value for reading in UI data when it has not been defined. |
Boolean result of the comparison
changed_true = has_changed(ui_val = "a", old_val = "")
changed_true
changed_false = has_changed(ui_val = "a", old_val = "a")
changed_false
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.