Learn R Programming

gsDesignTune (version 0.1.0)

toString.function: Convert a function to a short label string

Description

gsDesignTune() uses function-valued columns (for example, spending functions) in results tables. This method provides a stable, readable label for such functions to keep printing and plotting robust.

Usage

# S3 method for `function`
toString(x, ...)

Value

A character scalar.

Arguments

x

A function.

...

Unused (included for S3 method compatibility).

Examples

Run this code
toString(stats::rnorm)

Run the code above in your browser using DataLab