pairs_plot.Rd
This funciton is a wrapper to GGally::ggpairs with customized functions for upper and lower off-diagonal panels. See details for help on customizing some aspects of the off-diagonal plots.
pairs_plot( x, y, bins = 15, alpha = opts$histogram.alpha, fill = opts$histogram.fill, col = opts$histogram.col, label_fun = label_parse_label, upper_fun = NULL, lower_fun = NULL, ... ) eta_pairs(x, etas, ...)
x | plotting data.frame |
---|---|
y | character |
bins | passed to ggplot2::geom_histogram |
alpha | passed to ggplot2::geom_histogram |
fill | passed to ggplot2::geom_histogram |
col | passed to ggplot2::geom_histogram |
label_fun | labeler function that gets passed to GGally::ggpairs; the default is based on parse_label and thus allows latex expressions in the label (see examples) |
upper_fun | function to use for |
lower_fun | function to use for |
... | passed to GGally::ggpairs |
etas | character |
The result from a ggpairs
call (a single plot).
This function requires the GGally
package to be installed.
When the length of etas
is one, arguments are passed to eta_hist and
that result is returned.
Use the options object to modify aspects of the smoother line:
smooth.col
, smooth.lwd
, smooth.lty
, smooth.method
. Also, use the
options object to control aspects of the points: scatter.col
,
scatter.size
.
id <- pmplots_data_id() etas <- c("ETA1//ETA-CL", "ETA2//ETA-VC", "ETA3//ETA-KA") eta_pairs(id,etas)#>#>#> #>#>#>#>#>#>#>