View source: R/mutateCalcString.R
mutateCalcString | R Documentation |
Allows a mutation given a string for the calculation side of the mutation
mutateCalcString(df, mutateName, mutateCalc)
df |
data.frame/tibble to change |
mutateName |
name of the column you want to change or create with the mutation |
mutateCalc |
calculation (as a string) to be used for the mutation |
data.frame/tibble with mutated columns
First created in 2020-11 while working in the MARC-KC/COVID-10_MARC Repository
## Not run: mutateCalcString(iris, "sumLength", "Sepal.Length + Petal.Length") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.