Description Usage Arguments Value Examples
Graphs a line plot of a row with the highest measure in a matrix, produced by
daily_response
function.
1 | plot_extreme(result_daily_response, title = TRUE)
|
result_daily_response |
a list with three objects as produced by daily_response function |
title |
logical, if set to FALSE, no plot title is displayed |
A ggplot2 object containing the plot display
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## Not run:
data(daily_temperatures_example)
data(example_proxies_1)
Example1 <- daily_response(response = example_proxies_1,
env_data = daily_temperatures_example, method = "lm", measure = "r.squared",
fixed_width = 90, previous_year = TRUE)
plot_extreme(Example1)
Example2 <- daily_response(response = example_proxies_1,
env_data = daily_temperatures_example, method = "brnn",
measure = "adj.r.squared", lower_limit = 50, upper_limit = 55, neurons = 1)
plot_extreme(Example2)
#' # Example with negative correlations
data(example_proxies_2)
daily_temperatures_example_subset = daily_temperatures_example[-c(53:55), ]
Example3 <- daily_response(response = example_proxies_2,
env_data = daily_temperatures_example_subset, method = "cor",
lower_limit = 35, upper_limit = 40)
plot_extreme(Example3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.