corr_matrix: Create Correlation Matrix from corrp inferences

View source: R/corr_matrix.R

corr_matrixR Documentation

Create Correlation Matrix from corrp inferences

Description

Through the results obtained from corrp function create a correlation matrix.

Usage

corr_matrix(c, ...)

## Default S3 method:
corr_matrix(c, col = c("infer.value", "stat.value", "isig"), isig = TRUE, ...)

## S3 method for class 'clist'
corr_matrix(c, col = c("infer.value", "stat.value", "isig"), isig = TRUE, ...)

Arguments

c

\[corrp.list(1)]
output from the corrp function.

...

Additional arguments (TODO).

col

\[character(1)]
choose the column to be used in the correlation matrix.

isig

\[logical(1)]
values that are not statistically significant will be represented by NA or FALSE in the correlation matrix.

Author(s)

Igor D.S. Siciliani

Examples

## Not run: 

air_cor = corrp(airquality)
air_m = corr_matrix(air_cor,isig = F)
corrplot::corrplot(air_m)


## End(Not run)


meantrix/corrP documentation built on Oct. 22, 2024, 10:16 a.m.