powered by
Convert function to single string
as_fun_string(f)
A single character vector representing the function.
Function to convert.
f <- function(x) { x^2 + 1 } as_fun_string(f)
Run the code above in your browser using DataLab