mat_cor_to_df: Convert correlation object to df

Description Usage Arguments See Also Examples

View source: R/as.data.frame.R

Description

Convert correlation object to df

Usage

1
mat_cor_to_df(x, long = TRUE)

Arguments

x

object from cor

long

into long format?

See Also

mat_cor_do

Examples

1
2
3
4
5
6
7
library(magrittr)
library(dplyr)
data(iris_tb)
iris_tb %>%
  select(-Species) %>%
  cor()  %>%
  mat_cor_to_df()

MatthieuStigler/matPkg documentation built on Aug. 10, 2021, 11:01 a.m.