| evaluate_biogeme_expression | R Documentation |
The expression is compiled once by the Python bridge. The initial result
contains the native function value, gradient, Hessian, and BHHH matrix. If
points is supplied, the same compiled native callable evaluates each row
with the requested free-parameter values. R does not evaluate the
expression locally and no Python object is returned.
evaluate_biogeme_expression(
expression,
beta = NULL,
points = NULL,
numerically_safe = FALSE,
use_jit = TRUE
)
expression |
A Biogeme expression. |
beta |
Optional named numeric vector used for the initial evaluation. When omitted, native Beta starting values are used. |
points |
Optional data frame or numeric matrix. Its columns are free parameter names and its rows are the parameter vectors for repeated native evaluations. |
numerically_safe |
Whether to request native numerically safe formulas. |
use_jit |
Whether to use native JAX just-in-time compilation. |
An object of class biogeme_expression_evaluation with initial,
free_beta_names, and evaluations components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.