plot2runs | R Documentation |
Creates a time series plot facetted by variable of values from two CRHM runs. The same variables must be present in the came columns in both runs.
plot2runs(
run1,
run2,
cols = NULL,
start_datetime = NULL,
end_datetime = NULL,
model1_name = "Model 1",
model2_name = "Model 2"
)
run1 |
Required. Standard CRHMr data frame of output from first run. |
run2 |
Required. Standard CRHMr data frame of output from second run. |
cols |
Variable columns to plot. If omitted, all variables are used. Otherwise
all columns are specified w.r.t. the |
start_datetime |
Optional. A POSIXct datetime. If specified, only values >=
the |
end_datetime |
Optional. A POSIXct datetime. If specified, only values <=
the |
model1_name |
Optional. Name of the first model. Default is Model 1. |
model2_name |
Optional. Name of the second model. Default is Model 2. |
Returns ggplot time series plot of the CRHM output, facetted by variable.
## Not run: p <- plot2runs("CRHM_run1", "CRHM_run2", cols = c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.