View source: R/my_occu_bar_plot_func.R
my_occu_bar_plot_func | R Documentation |
bar plot of waves occurrence
my_occu_bar_plot_func( my_dataset, my_var = "value", reffer_wave_thres = 10, line_size = 1, ... )
my_dataset |
A dataframe with raw data of waves. |
my_var |
A character string of length 1. The name of the variable you want to make the barplot. This should be wave occurrence or something similar. Default to |
reffer_wave_thres |
A double. Reference value in seconds indicating the threshold for the calculus of cumulative waves occurrence. Default to 10. |
line_size |
Integer. the size of the lines to display. Default to 1. |
... |
additional parameter to be passed to the aesthetic function |
A ggplot object with barplot of waves occurrence in the different animals groups.
# The example is still missing...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.