Learn R Programming

INLAvaan (version 0.2.3)

as_fun_string: Convert function to single string

Description

Convert function to single string

Usage

as_fun_string(f)

Value

A single character vector representing the function.

Arguments

f

Function to convert.

Examples

Run this code
f <- function(x) { x^2 + 1 }
as_fun_string(f)

Run the code above in your browser using DataLab