Plot histogram
Usage
plot_histogram(
data,
binwidth = 0.01,
show_border = FALSE,
border_color = "black",
alpha = 1,
theme = "viridis",
theme_begin = 0,
theme_end = 0.5,
theme_direction = -1,
legend_position = "right"
)
Arguments
- data
A numeric vector.
- binwidth
Width of the bins.
- show_border
Logical value, whether to show border of the bins.
- border_color
Color of the border.
- alpha
Alpha value of the bins.
- theme
Theme of the bins.
- theme_begin
Begin value of the theme.
- theme_end
End value of the theme.
- theme_direction
Direction of the theme.
- legend_position
The position of legend.
Examples
data("example_matrix")
network_table <- inferCSN(example_matrix)
#> ℹ [2025-05-07 09:38:46] Running for <dense matrix>.
#> ℹ [2025-05-07 09:38:46] Checking input parameters.
#> ℹ [2025-05-07 09:38:46] Using L0 sparse regression model.
#> ℹ [2025-05-07 09:38:46] Using 1 core
#> ✔ [2025-05-07 09:38:46] Run done.
plot_histogram(network_table[, 3])