View source: R/regime-integration.R
| plot.regime_integration_relationships | R Documentation |
Draw Supplementary Figure 4A-style panels from
regime_integration_relationships().
## S3 method for class 'regime_integration_relationships'
plot(
x,
panel = c("both", "variance", "correlation"),
main = NULL,
xlab = NULL,
ylab = "Log inferred regime rate",
point_alpha = 0.45,
variance_col = "#4C78A8",
correlation_col = "#D55E00",
variance_line_col = "#1B4F72",
correlation_line_col = "#8A3A00",
ribbon_col = "grey70",
pch = 21,
lwd = 2,
...
)
x |
A |
panel |
Which panel to draw: |
main |
Optional panel title. For |
xlab, ylab |
Optional axis labels. |
point_alpha |
Point fill transparency. |
variance_col, correlation_col |
Point fill colors for the two panels. |
variance_line_col, correlation_line_col |
Curve colors for the two panels. |
ribbon_col |
Ribbon color. |
pch, lwd |
Base plotting symbol and line width. |
... |
Additional graphical parameters passed to |
Invisibly returns x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.