function2character: Converts a function to a string starting with " <- function",...

View source: R/function2character.R

function2characterR Documentation

Converts a function to a string starting with " <- function", which can be sourced by R if pasted a name for the function prior to the string.

Description

Converts a function to a string starting with " <- function", which can be sourced by R if pasted a name for the function prior to the string.

Usage

function2character(x, fname = "")

Arguments

x

is the function.

fname

is the optional function name.


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.