matrix_to_df: Reshape a correlation matrix into a data.frame

View source: R/reshape.R

matrix_to_dfR Documentation

Reshape a correlation matrix into a data.frame

Description

This function takes a square matrix, like a correlation matrix derived from a mean covariance matrix, and reshapes it into a data.frame for plotting.

Usage

matrix_to_df(x)

Arguments

x

A matrix with named x and y dimensions.

Value

A df with X, Y and value columns


gjcooper/gcphd-model_of_dce documentation built on March 25, 2024, 8:57 a.m.