plot.control: Control parameters for plot.INLAMRA

Description Usage Arguments Details Value

View source: R/plotFunctions.R

Description

Control parameters for the 'control' argument of plot.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'control'
plot(
  trim = 0,
  plotRaster = TRUE,
  graphicsEngine = jpeg,
  resolutionInMeters = NULL,
  timesToPlot = NULL,
  controlForScaleBar = NULL,
  controlForRasterPlot = NULL,
  controlForRasterLegend = NULL,
  controlForRasterColourScale = NULL
)

Arguments

trim

Either 0, 1, or 2. Determines if predicted values should be trimmed before plotting to fit within the observation range. 0 (default): no trimming, 1: Values are trimmed to fall within the range of all observations, 2: Values are trimmed to fall within the range of observations on the corresponding day (if available).

plotRaster

Logical. Should rasters (TRUE) or points (FALSE) be plotted? Ignored if type is "marginals". Points may be preferrable if data were not collected on a regular spatial grid.

graphicsEngine

Function, e.g. jpeg, png, postscript. Corresponds to the graphics engine used to produce the plots,

resolutionInMeters

Numeric value indicating the width, in meters, of each (square) cell in the raster. Ignored if plotRaster is FALSE.

timesToPlot

Vector of dates in the same format as that used in the data used to fit INLAMRA. Only maps corresponding to those days will be plotted.

controlForScaleBar

List of control parameters for the scale bars in the graphs, cf. ?mapmisc::scaleBar.

controlForRasterPlot

List of control parameters for the raster plotting function, cf. ?raster::plot.

controlForRasterLegend

List of control parameters for the raster legend, cf. ?mapmisc::legendBreaks.

controlForRasterColourScale

List of control parameters for the raster colour scale, cf. ?mapmisc::colourScale.

Details

The function need not be called explicitly: it's just a convenient way to see/set control parameters.

Value

A list of control parameters.


villandre/MRAinla documentation built on April 20, 2021, 7:49 a.m.