Description Usage Arguments Value Examples
Plot scatterplot of two variables along with two density plots.
1 2 |
df |
dataframe to work with. |
var1 |
x variable to plot (string). |
var2 |
y variable to plot (string). |
color |
factor variable for ggplot (string). |
xlim |
limits for x variable eg: c(1, 10). |
ylim |
limits for y variable eg: c(1, 10). |
xlab |
label for x variable. |
ylab |
label for y variable. |
... |
additional ggplot parameters. |
plot as returned by cowplot::plot_grid()
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.