| simulate_single_formula | R Documentation |
This operation delegates to Biogeme's public
calculate_single_formula_from_expression evaluator. Unlike simulate(),
it returns one native aggregated value, which is useful for panel
likelihood formulas.
simulate_single_formula(
model,
expression,
beta,
number_of_draws,
seed = NULL,
numerically_safe = FALSE,
use_jit = TRUE
)
model |
A |
expression |
A Biogeme expression to evaluate. |
beta |
A |
number_of_draws |
Positive number of native Monte Carlo draws. |
seed |
Optional temporary native draw seed. |
numerically_safe |
Whether to request native numerically safe formulas. |
use_jit |
Whether to use native JAX just-in-time compilation. |
One numeric scalar returned by native Biogeme.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.