plot.caustests: Plot Quantile Causality Results

View source: R/caustests.R

plot.caustestsR Documentation

Plot Quantile Causality Results

Description

Creates diagnostic plots for quantile causality tests (tests 6-7).

Usage

## S3 method for class 'caustests'
plot(x, which = 1, type = "both", ...)

Arguments

x

An object of class "caustests" from test 6 or 7.

which

Which direction to plot (default: 1, first direction).

type

Plot type: "wald" for Wald statistics, "pval" for p-values, or "both" (default).

...

Additional arguments passed to plot.

Value

Invisibly returns the plotted data.

Examples


data(caustests_data)
result <- caustests(caustests_data, test = 6,
                    quantiles = c(0.25, 0.50, 0.75), nboot = 199)
plot(result)



caustests documentation built on April 5, 2026, 9:06 a.m.