Learn R Programming

ComplexAnalysis (version 1.0)

body2string: Converts the body of a function to a string

Description

Converts the body of a given function to a string allowing further manipulations of this function.

Usage

body2string(func)

Arguments

func
A function.

Value

A string (or a vector of strings if the body of the function consists of multiple lines).

Details

This is a required function of the package ComplexAnalysis.