Learn R Programming

simsem (version 0.2-8)

toFunction: Export the distribution object to a function command in text that can be evaluated directly.

Description

Export the distribution object to a function command in text that can be evaluated directly.

Usage

toFunction(x)

Arguments

x
The distribution object used to be transformed

Value

  • The expression that is ready to be evaluated.

See Also

VirtualDist for the distribution object that can be transformed to a function

Examples

Run this code
u2 <- simUnif(-0.2, 0.2)
toFunction(u2)

Run the code above in your browser using DataLab