matrix_to_tibble

0th

Percentile

Convert a matrix to a tibble dataframe.

Convert a matrix to a tibble dataframe.

Keywords
internal
Usage
matrix_to_tibble(df, var = "variable")
Arguments
df

A matrix.

var

Name of column to use for rownames.

Aliases
  • matrix_to_tibble
Examples
# NOT RUN {
set.seed(123)
cor_df <- cor(purrr::keep(iris, is.numeric))
ggstatsplot:::matrix_to_tibble(cor_df)
# }
Documentation reproduced from package ggstatsplot, version 0.0.11, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.