pairs2 | R Documentation |
Prepare pair plots for two dataframes x,y: figure columns from x and rows from y. This results in fewer combinations than plot(xy_df)
pairs2(
x,
y,
str_max = 16,
oneLine = F,
mai_fig = c(0.3, 0.3, 0.3, 0.1),
mai_edge = c(0, 0, 0, 0),
title = NA,
pdf_out = NA,
pdf_ht = 8,
pdf_wd = 11,
xlab_fig = NA,
ylab_fig = NA,
combination = F,
square = F,
...
)
x |
first data.frame |
y |
second data.frame |
str_max |
number of characters per name to display |
oneLine |
T/F add one to one line? |
mai_edge |
"mai" parameters for composite figure |
combination |
T/F combinations of x and y inputs or x[,1] vs y[,1] and x[,2] vs y[,2] |
square |
T/F force graphs to be square (same x and y lims), only use if units match |
... |
additional arguments to plot |
tile |
optional figure title |
<Delete and Replace>
Revision History
1.0 | 2015 Jan 29 Roxygen header prepared |
1.1 | 2022 March 03 added to RForInvt and added combination alternative |
<Delete and Replace>
Jacob Strunk <someone@somewhere.com>
plot
pairs2(mtcars,mtcars,combination=T)
pairs2(mtcars[,1:4],mtcars[5:8],combination=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.