Create a heatmap visualization of agent decisions over time.

plot_decision_heatmap(
  simulation_results,
  n_sample_agents = 100,
  n_sample_steps = 100
)

Arguments

simulation_results

ANNEM simulation results

n_sample_agents

Number of agents to sample (default: 100)

n_sample_steps

Number of time steps to sample (default: 100)

Value

ggplot object

Examples

if (FALSE) { # \dontrun{
market <- create_annem_market(n_agents = 100)
results <- market$run_simulation(n_steps = 50)
heatmap_plot <- plot_decision_heatmap(results)
print(heatmap_plot)
} # }