estimate_or_load: Estimate or explicitly load a standard Biogeme result

View source: R/results.R

estimate_or_loadR Documentation

Estimate or explicitly load a standard Biogeme result

Description

force = FALSE permits loading the named YAML file; force = TRUE always performs fresh estimation. The default estimate() path never recycles an old result file.

Usage

estimate_or_load(
  model,
  yaml_file_name,
  force = FALSE,
  model_name = "rbiogeme_model",
  controls = list(),
  starting_values = NULL,
  run_bootstrap = FALSE
)

Arguments

model

A biogeme_model.

yaml_file_name

YAML path used for loading or saving.

force

Whether to force fresh estimation.

model_name

Native Biogeme model name.

controls

Named native controls.

starting_values

Optional named starting values.

run_bootstrap

Whether to run bootstrap estimation.

Value

A biogeme_fit object.


rbiogeme documentation built on Sept. 29, 2026, 5:09 p.m.