corx-methods: Extract results from a correlation table

coef.corxR Documentation

Extract results from a correlation table

Description

Use coef() to extract unrounded coefficients, or use summary() and as.data.frame() to extract the formatted table.

Usage

## S3 method for class 'corx'
coef(object, ...)

## S3 method for class 'corx'
summary(object, ..., digits, quantile.type)

## S3 method for class 'corx'
as.data.frame(x, ...)

Arguments

object, x

A corx() object.

...

Unused; included for compatibility with the generics.

digits, quantile.type

Unused arguments to the summary() method. To change rounding, set round when calling corx().

Value

coef() returns the numeric coefficient matrix. summary() and as.data.frame() return the formatted table as a data frame, with the table's original column names.

Examples

fit <- corx(mtcars[, 1:3])
coef(fit)
summary(fit)
as.data.frame(fit)

corx documentation built on Nov. 25, 2026, 9:06 a.m.