| visualize_multiscale | R Documentation |
Visualize the simulated concentric ring patterns from simulate_multiscale
visualize_multiscale(
sim_data,
Ra_seq,
n_steps,
bg_color = "grey90",
signal1_color = "#16964a",
signal2_color = "#2958a8",
show_subtitle = TRUE,
sort_order = c("ascending", "descending"),
panel_spacing = 0.1,
title_size = 12
)
sim_data |
Output from simulate_multiscale function |
Ra_seq |
Vector of Ra values used in simulation |
n_steps |
Number of steps used in simulation |
bg_color |
Background color for plots (default: "grey90") |
signal1_color |
Color for signal 1 (default: "#16964a") |
signal2_color |
Color for signal 2 (default: "#2958a8") |
show_subtitle |
Logical; if TRUE (default), show parameter values in facet labels |
sort_order |
Order for sorting ("ascending" or "descending", default: "ascending") |
panel_spacing |
Control spacing between panels in lines (default: 0.1) |
title_size |
Size of title text (default: 12) |
ggplot object with faceted visualization
# Generate and visualize patterns
sim_data <- simulate_multiscale(
Ra_seq = seq(2.5, 20, by = 2.5),
n_steps = 10
)
plot_grid <- visualize_multiscale(sim_data,
Ra_seq = seq(2.5, 20, by = 2.5),
n_steps = 10)
print(plot_grid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.