View source: R/trajectory_table.R
| trajectory_table | R Documentation |
Takes the list of trajectory records from an engine run and returns a tidy
data frame with one row per emitted leaf decision record. For grouped rows,
grouped_decision_point_id and group_activation_id identify the shared
consultation; they do not assert that a selected action later realized.
Arbitrary decision_plan_metadata remains on raw records only.
trajectory_table(records, vars = NULL)
records |
List of trajectory records (from |
vars |
Character vector of state variable names to extract from
|
A data.frame with columns: run_id, entity_id, t,
decision_point_id, grouped_decision_point_id, group_activation_id,
trigger_event, selected_action, condition_met, plus
<var>_before and <var>_after for each requested variable. Grouped ids
are NA for ordinary or legacy records. Opaque decision-plan metadata
remains available only in raw trajectory records.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.