eval_to_symbol {caracas}R Documentation

Create a symbol from a string

Description

Create a symbol from a string

Usage

eval_to_symbol(x)

Arguments

x

String to evaluate

Value

A caracas_symbol

Examples

if (has_sympy()) {
   x <- symbol('x')
   (1+1)*x^2
   lim(sin(x)/x, "x", 0)
}


[Package caracas version 1.1.0 Index]