Learn R Programming

DMAR (version 1.0.0)

tidy.dmar_ci_R2: Tidy / Glance Methods for ci_R2 Output

Description

Returns the standard broom-style one-row summary of the \(R^2\) confidence interval: term (always "R2"), estimate, ci_lower, ci_upper, conf_level.

Usage

# S3 method for dmar_ci_R2
tidy(x, ...)

# S3 method for dmar_ci_R2 glance(x, ...)

Value

A one-row data.frame in broom convention.

Arguments

x

A dmar_ci_R2 object returned by ci_R2.

...

Unused.

Author

Ken Kelley [email protected]

Examples

Run this code
res <- ci_R2(R2 = 0.25, N = 100, p = 5)
generics::tidy(res)
generics::glance(res)

Run the code above in your browser using DataLab