stat_amt | R Documentation |
This is a dosing geom that shows the vertical lines where a dose occurs
stat_amt( mapping = NULL, data = NULL, position = "identity", show.legend = NA, inherit.aes = TRUE, ... ) geom_amt( mapping = NULL, data = NULL, position = "identity", show.legend = NA, inherit.aes = TRUE, ... )
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
Other arguments passed on to |
Requires the following aesthetics:
x representing the x values, usually time
amt representing the dosing values; They are missing or zero when no dose is given
This returns a stat_amt in context of a ggplot2 plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.