Description Usage Arguments Value Examples
View source: R/state_changes.R
Identify states that have changed from previous interaction
1 | state_changes(df, subset = TRUE)
|
df |
a dataframe produced from the |
subset |
If |
either a subsetted dataframe with rows when states changed or an additional column to input dataframe stating if state change occurs
1 2 | state_changes(addstates(ladybugs[,2:3]))
state_changes(addstates(ladybugs[,2:3]),subset=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.