Description Usage Arguments Author(s)
This function implements a simple algorithm transforming all variables that are part of the header vector with the function in FunctionName. Note that all variables are overwritten! by default The <<- operator creates objects in the global environment which is necessary here!
1 | ForEach(DataFrame, header, FunctionName, Appendix = "")
|
DataFrame |
The data frame of reference |
header |
A vector of type character containing the names of all variables |
FunctionName |
The name of function which is used to transform all variables |
Appendix |
appendix to new variable name |
Jakob L.K. Gerstenlauer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.