Description Usage Arguments Value
Center Variables at the Participant Level
1 2 |
df |
Data frame. |
var |
Variable in |
group |
Grouping variable. Must be in |
cntrValFn |
Function that returns the value to center around within each
participant. Most often the default, |
returnType |
Can return either a dataframe ("df"; default) or a vector ("vec"). |
... |
Other arguments to pass to |
Either a dataframe with the new variable or a vector of the centered
values, depending on the returnType
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.