View source: R/rezrDF_mutate.R
createUpdateFunction | R Documentation |
Create an update function for 'auto' fields only. 'foreign' fields take createLowerToHigherUpdate or createLeftJoinUpdate. Normally does not need to be called by the user; it is automatically called by addFieldLocal or rez_mutate.
createUpdateFunction(field, x, df, groupField = "")
field |
The field for which you want to create an update function. |
x |
An R expression. For example, if you want to column2 to be updated to always be three times column3, then x should be column3 * 3. |
df |
The rezrDF for which you want to create an update function. |
An update function with automatically generated dependency information. I will figure out the dependency information for you, so you don't have to define it yourself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.