Comprehensive visualization suite for ANNEM empirical results including agent performance plots, network evolution, wealth dynamics, and model comparisons. Plot Agent Performance by Type

Create comprehensive visualizations of agent performance across different types.

plot_agent_performance(agent_performance, plot_type = "both")

Arguments

agent_performance

Data frame with agent performance metrics

plot_type

Character string: "boxplot", "scatter", or "both" (default: "both")

Value

List containing ggplot objects

Examples

if (FALSE) { # \dontrun{
market <- create_annem_market(n_agents = 100)
results <- market$run_simulation(n_steps = 50)
performance <- market$analyze_agent_performance()
plots <- plot_agent_performance(performance)
print(plots$performance_dist)
} # }