tidy.radf_obj {exuber}R Documentation

Tidy a radf_obj object

Description

Summarizes information about radf_obj object.

Usage

## S3 method for class 'radf_obj'
tidy(x, format = c("wide", "long"), panel = FALSE, ...)

## S3 method for class 'radf_obj'
augment(x, format = c("wide", "long"), panel = FALSE, trunc = TRUE, ...)

Arguments

x

An object of class radf_obj.

format

Long or wide format (default = "wide").

panel

If TRUE then returns the panel statistics

...

Further arguments passed to methods. Not used.

trunc

Whether to remove the period of the minimum window from the plot (default = TRUE).

Value

A tibble::tibble()

Examples


dta <- data.frame(psy1 = sim_psy1(n = 100), psy2 = sim_psy2(n = 100))

rfd <- radf(dta)

# Get the test statistic
tidy(rfd)

# Get the test statisticsequences
augment(rfd)

# Get the panel test statistic
tidy(rfd, panel = TRUE)


[Package exuber version 1.0.2 Index]