Converts characters to expressions.

c2e(x)

Arguments

x

character.

Value

expression.

References

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

See also

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

Examples

### convert characters c2e("a")
#> expression(a = a)
### convert array of characters c2e(array("a", dim = c(2,2)))
#> expression(a, a, a, a)