e2c {calculus}R Documentation

Expressions to Characters

Description

Converts expressions to characters.

Usage

e2c(x)

Arguments

x

expression.

Value

character.

References

Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". https://arxiv.org/abs/2101.00086

See Also

Other utilities: c2e(), evaluate(), wrap()

Examples

### convert expressions
expr <- parse(text = "a")
e2c(expr)

### convert array of expressions
expr <- array(parse(text = "a"), dim = c(2,2))
e2c(expr)


[Package calculus version 0.3.1 Index]