Learn R Programming

trawl (version 0.2.2)

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

Description

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

Usage

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

Value

no return value

Details

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