eval_to_symbol: Create a symbol from a string

View source: R/sym_symbol.R

eval_to_symbolR 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)
}


caracas documentation built on June 22, 2024, 10:59 a.m.