mutate_text: Uses mutate based on a character vector#'

View source: R/mutate_text.R

mutate_textR Documentation

Uses mutate based on a character vector#'

Description

Uses mutate based on a character vector#'

Usage

mutate_text(df, s)

Arguments

df

a data frame

s

a character string containing the formula to be applied in mutate

Value

A data frame transformed with the mutate function

Author(s)

Antoine Levesque

Examples

df = data.frame(x = c(1,2),
                y = c(3,4))
form = "z = x + y"
mutate_text(df,form)


pik-piam/quitte documentation built on April 26, 2024, 12:58 a.m.