Skip to contents

Visualize agent networks colored by agent types

Usage

plot_agent_type_network(agents, network_obj, layout = "stress")

Arguments

agents

List of agents

network_obj

Network adjacency matrix or igraph object

layout

Character string for layout algorithm

Value

ggplot2 object with agent network visualization