Description Usage Arguments See Also
View source: R/gg-constructors.R
Create an new arphit graph
1 2 3 |
data |
(Optional) Data to be used for the plot. Can be left blank, but must then be supplied for each layer. |
aes |
(Optional) The aesthetic that defines your graph. Can be left blank, but must then be supplied for each layer. Layers that don't specify aesthetics will inherit missing parts of aesthetic from here. |
layout |
(default = "1") The layout of the graph. Valid options are "1", "2v", "2h", "2b2", "3v", "3h", "3b2", "4h", "4b2". |
portrait |
(default = FALSE) Logical indicating whether the layout should be a landscape size (FALSE, default), or a taller portrait size (TRUE). |
dropxlabel |
(optional) Logical indicating whether the first xlabel of right hand panels in 2v and 2b2 should be ignored (prevents overlapping of last xlabel on left panel with first on right). FALSE by default. |
srt |
(default 0) Orientation adjustment for xlabels. In degrees; 0 is horizontal. |
showallxlabels |
(optional) (Only for categorical graphs) Force all x labels to show? By default, this is TRUE. |
joined |
(default TRUE) Logical indicating whether you want to join between missing observations (TRUE()), or break the series (FALSE). |
plotsize |
(optional) A vector of two variables specifying the height and width of your graph, respectively. (Default 5.53, 7.5). Ignored if portrait is set to TRUE |
log_scale |
(optional) Set one or both of y and x axes as log scales? Use "y" for just y axis, "x" for just x and "xy" for both |
vignette("plotting-options", package = "arphit")
for a
detailed description of all the plotting options
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.