| biogeme_database_panel | R Documentation |
Declare and validate a panel identifier
biogeme_database_panel(database, panel_id)
database |
A |
panel_id |
Name of the panel identifier column. |
The identifier must be numeric and finite. Observations belonging to one identifier must be contiguous; the constructor rejects interleaved panel rows rather than silently reordering them.
A new panel database specification.
panel_database <- biogeme_panel_database(
"panel_demo",
data.frame(person = c(1, 1, 2, 2), choice = c(1, 2, 2, 1)),
panel_id = "person"
)
biogeme_database_is_panel(panel_database)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.