retain | R Documentation |
Retain values within primary keys.
retain(df, value_var, event, outside = NA)
df |
( |
value_var |
( |
event |
( |
outside |
( |
A vector of values where expression is true.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.