Learn R Programming

exuber (version 1.0.2)

tidy.radf_obj: Tidy a radf_obj object

Description

Summarizes information about radf_obj object.

Usage

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

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

Value

A tibble::tibble()

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).

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab