cross_variable: Define a sampled-alternative cross-variable

View source: R/sampling.R

cross_variableR Documentation

Define a sampled-alternative cross-variable

Description

Represents native Biogeme's CrossVariableTuple. The Python bridge expands the expression after native choice-set sampling; R callbacks are not used during estimation.

Usage

cross_variable(name, formula)

Arguments

name

Name of the generated cross-variable.

formula

A neutral Biogeme expression involving individual and alternative variables.

Value

A declarative biogeme_cross_variable object.


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