plot,rc_unc.class,ANY-method {ReturnCurves}R Documentation

Visualisation of the Uncertainty of the Return Curve estimates

Description

Plot method for an S4 object returned by rc_unc.

Usage

## S4 method for signature 'rc_unc.class,ANY'
plot(x, which = c("rc", "median", "mean", "all"))

Arguments

x

An instance of an S4 class produced by rc_unc.

which

String that indicates which return curve estimates to show. Must either be "rc" (Default), "median", "mean" or "all".

Value

A ggplot object showing:

which = "rc"

Plots the estimated Return Curve and its uncertainty.

which = "median"

Plots the median estimates of the Return Curve and its uncertainty.

which = "mean"

Plots the mean estimates of the Return Curve and its uncertainty.

which = "all"

Plots all the estimated Return Curve, the median and mean estimates of the Return Curve, and its uncertainty.


[Package ReturnCurves version 1.0 Index]