as_fun_string: Convert function to single string

View source: R/utils.R

as_fun_stringR Documentation

Convert function to single string

Description

Convert function to single string

Usage

as_fun_string(f)

Arguments

f

Function to convert.

Value

A single character vector representing the function.

Examples

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

INLAvaan documentation built on Nov. 13, 2026, 5:08 p.m.