Learn R Programming

ReturnCurves (version 1.0.1)

plot,margtransf.class,ANY-method: Visualisation of the Marginal Transformation

Description

Plot method for an S4 object returned by margtransf.

Usage

# S4 method for margtransf.class,ANY
plot(x, which = c("all", "hist", "ts", "joint"))

Value

A ggplot object showing:

which = "hist"

histograms of each variable on original and standard exponential margins.

which = "ts"

time series of each variable on original and standard exponential margins.

which = "joint"

joint distribution on original and standard exponential margins.

which = "all"

all the available plots.

Arguments

x

An instance of an S4 class produced by margtransf.

which

String that indicates which type of plot to show. Must either be "all" (Default), "hist", "ts" or "joint".