Skip to main content

Matrix of one statistic of a cor_result

Description

Matrix of one statistic of a cor_result

Usage

## S3 method for class 'cor_result'
as.matrix(x, what = c("r", "p", "p_adj", "n", "ci_low", "ci_high"), ...)

Arguments

x output of cor_compute()
what column of x$table: “r” (default), “p”, “p_adj”, “n”, “ci_low” or “ci_high”
… unused

Value

a numeric matrix: symmetric with the diagonal filled (r = 1, p = 0, n = number of values) for a matrix analysis; x in rows and y in columns for a cross analysis

Back to top