arphitgg: Create an new arphit graph

Description Usage Arguments See Also

View source: R/gg-constructors.R

Description

Create an new arphit graph

Usage

1
2
3
arphitgg(data = NULL, aes = NULL, layout = "1", portrait = FALSE,
  dropxlabel = NA, srt = 0, showallxlabels = TRUE, joined = TRUE,
  plotsize = LANDSCAPESIZE, log_scale = "")

Arguments

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

See Also

vignette("plotting-options", package = "arphit") for a detailed description of all the plotting options


angusmoore/arphit documentation built on Feb. 15, 2021, 9:40 a.m.