plot_time_metrics | R Documentation |
Plot metric vs time
plot_time_metrics(dataset, metric, scales = "fixed")
dataset |
Data frame to use for plot. It must contain at least one character column named "Run_date" (yy-mm-dd) and one character column named "Sample". |
metric |
Character vector length 1 with the name of the metric to plot (metric should be one of the column names of dataset) |
scales |
Parameter to be passed to facet_wrap. It determines whether all axes are fixed for all panels in a plot (one panel per genus/species). It can take the values: 'fixed' (default), 'free_x' (y fixed and x different per panel), 'free_y' (x fixed and y different per panel) or 'free'(both free). |
ggplot object containing the plot to be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.