matrix_to_tibble: Convert a matrix to a tibble dataframe.

Description Usage Arguments Author(s) Examples

Description

Convert a matrix to a tibble dataframe.

Usage

1
matrix_to_tibble(df, var = "variable")

Arguments

df

A matrix.

var

Name of column to use for rownames.

Author(s)

Indrajeet Patil

Examples

1
2
3
set.seed(123)
cor_df <- cor(purrr::keep(iris, is.numeric))
ggstatsplot:::matrix_to_tibble(cor_df)

IndrajeetPatil/ggstatsplot documentation built on June 14, 2019, 9:55 a.m.