plot_2and1hist_gg function

Plots the bivariate histogram of two time series together with the univariate histograms using ggplot2

Plots the bivariate histogram of two time series together with the univariate histograms using ggplot2

plot_2and1hist_gg(x, y, bivbins = 50, xbins = 30, ybins = 30)

Arguments

  • x: vector of equidistant time series data
  • y: vector of equidistant time series data (of the same length as x)
  • bivbins: number of bins in the bivariate histogram
  • xbins: number of bins in the histogram of x
  • ybins: number of bins in the histogram of y

Returns

no return value

Details

This function plots the bivariate histogram of two time series together with the univariate histograms

  • Maintainer: Almut E. D. Veraart
  • License: GPL-3
  • Last published: 2021-02-22

Useful links