This function plots a ggplot to visualize the distribution of scope objects across the time frame.
overview_plot( dat, id, time, xaxis = "Time frame", yaxis = "Sample", asc = TRUE, color, dot_size = 2 )
dat | Your data set |
---|---|
id | Your scope (e.g., country codes or individual IDs). If the id variable contains NAs, they will not be included in the plot. |
time | Your time (e.g., time periods given by years, months, ...) |
xaxis | Label of the x axis ("Time frame" is default) |
yaxis | Label of the y axis ("Sample" is default) |
asc | Sorting the y axis in ascending order ("TRUE" is default) |
color | Optional argument that defines the color |
dot_size | Option argument that defines the dot size (default is 2) |
A ggplot figure that presents the sample information visually