Description Usage Arguments Value Author(s) Examples
Produce a squared scatterplot for paired data (same units for both axes), including the first bisector line for reference.
1 2 | paired.plotCor(df, condition1, condition2, groups = NULL,
facet = TRUE, ...)
|
df |
a data.frame. |
condition1 |
name of the variable corresponding to the first sample. |
condition2 |
name of the variable corresponding to the first sample. |
groups |
name of the variable corresponding to the groups (optional). |
facet |
faceting or grouping strategy for plotting? |
... |
arguments to be passed to methods |
a graphical object of class ggplot.
Stephane CHAMPELY
1 2 3 4 5 | data(PrisonStress)
paired.plotCor(PrisonStress,"PSSbefore","PSSafter")
# Changing the theme of the ggplot object
paired.plotCor(PrisonStress,"PSSbefore","PSSafter")+theme_bw()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.