mutate_text | R Documentation |
Uses mutate based on a character vector#'
mutate_text(df, s)
df |
a data frame |
s |
a character string containing the formula to be applied in mutate |
A data frame transformed with the mutate function
Antoine Levesque
df = data.frame(x = c(1,2),
y = c(3,4))
form = "z = x + y"
mutate_text(df,form)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.