plot_xy_corr | R Documentation |
Plot of condition versus condition
plot_xy_corr(
x_1,
x_2,
region,
series_name_1 = "Historical",
var_y_name_1 = "mean_wt_resid",
var_y_se_name_1 = "se_wt_resid",
var_x_name_1 = "year",
series_name_2 = "VAST",
var_y_name_2 = "mean_wt_resid",
var_y_se_name_2 = "se_wt_resid",
var_x_name_2 = "year",
format_for = "rmd"
)
x_1 |
A data.frame for the first time series. |
x_2 |
A data.frame for the second time series. |
region |
Region. AI, BS, or GOA. Character (1L). |
var_y_name_1 |
Name of the y variable in the data.frame. Character (1L). |
var_y_se_name_1 |
Name of the standard error for the y variable. Character (1L). |
var_x_name_1 |
Name of the x (time variable). Character (1L). |
var_y_name_2 |
Name of the y variable in the data.frame. Character (1L). |
var_y_se_name_2 |
Name of the standard error for the y variable. Character (1L). |
var_x_name_2 |
Name of the x (time variable). Character (1L). |
format_for |
"rmd" or "png" |
fill_colors |
Fill colors to use for points. Character (2L). |
scale_y |
Logical. Should y variables be Z-score transformed? |
y_title |
Y-axis title. Character (1L). |
A ggplot object of the time series
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.