space_time_plot: A space-time plot.

Description Usage Arguments

View source: R/space_time_plot.R

Description

Given a raster brick (and possibly uncertainties/errors), plot a map of the average across time, and a graph of the average across space.

Usage

1
2
3
4
5
6
space_time_plot(the_brick, the_brick_upper = NULL, the_brick_lower = NULL,
  out_file, line = 75, title = NULL, time, timelim, timeaxis,
  timelab = "Year AD", zbreaks = NULL, zlab, zaxis,
  zcolors = rev(RColorBrewer::brewer.pal(11, "RdYlBu")), fig_width = 6.5,
  graph_height = 1.5, margin = 0.1, pt_size = 8, smooth = FALSE,
  extra_plot_fun = NULL, extra_legend_fun = NULL)

Arguments

the_brick

The data to plot

the_brick_upper

The upper CI data

the_brick_lower

The lower CI data

out_file

Where to write the output

title

The Title of the plot

time

The timeseries of the plot

timelim

The time limits of the plot

timeaxis

The time limits of the axis

timelab

The label of the time axis

zbreaks

The color breaks for plotting

zlab

The label for the data

zaxis

The axis breaks for the data

zcolors

The colors for the data

fig_width

The width of the figure

graph_height

The height of the time series graph

margin

The margin

pt_size

The point size

smooth

Should the timeseries be smoothed by kernel estimation

extra_plot_fun

Any extra plotting functions

extra_legend_fun

Any extra legend functions


bocinsky/guedesbocinsky2018 documentation built on May 3, 2019, 8:59 p.m.