ForEach: ForEach

Description Usage Arguments Author(s)

Description

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!

Usage

1
ForEach(DataFrame, header, FunctionName, Appendix = "")

Arguments

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

Author(s)

Jakob L.K. Gerstenlauer


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.