Create network visualization of spatial transition probabilities
create_network_plot(
transition_df,
nutrient,
analysis_type,
output_path,
highlight_transitions = TRUE
)NULL (saves plot to file)
Data frame. Transition probability matrix
Character. "nitrogen" or "phosphorus" for coloring
Character. Description of analysis type
Character. Path to save PNG file
Logical. Whether to highlight specific transitions