severalGgPlots: Creates a list of ggplots

Description Usage Arguments Examples

View source: R/severalGgPlots.R

Description

Creates a list of ggplots for different combinations of dataset, season, model and method. Input: file_paths for IQD data saved with each type of dataset, longitude and latitude matrices for all coordinates guide_limits used for the colour guide in the plots Output: A list of ggplots. A list of mean and quantile values for each of the plots

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
severalGgPlots(
  file_paths_in,
  lon,
  lat,
  guide_lim,
  model_nrs = 1:length(model_names),
  quantiles = c(0.05, 0.95),
  want_summ = FALSE,
  method_nrs = 1:length(method_names),
  type_nrs = 1:length(type_names),
  prec = TRUE,
  log = FALSE,
  do_bootstrap = TRUE,
  bootstrap_samples = 1000
)

Arguments

file_paths_in

file_paths for IQD data

lon

Longitude coordinates

lat

Latitude coordinates

guide_lim

colour guide in plots

model_nrs

Which models to plot. Defaults to 1:length(model_names)

quantiles

Defaults to c(0.05, 0.95)

want_summ

Defaults to FALSE

method_nrs

Which methods to plot. Defaults to 1:length(method_names)

type_nrs

Which dataproducts to plot. Defaults to 1:length(type_names)

prec

If True, precipitation. Defaults to TRUE

log

If True, logscale. Defaults to FALSE

do_bootstrap

If True, use bootstrap. Defaults to TRUE

bootstrap_samples

Number of bootstrap samples. Defaults to 1000

Examples

1

NorskRegnesentral/climModelEval documentation built on Jan. 16, 2020, 12:49 a.m.