longR: Stretch (usually a Correlation) Matrix into an Edgelist...

View source: R/longR.R

longRR Documentation

Stretch (usually a Correlation) Matrix into an Edgelist Format

Description

Utility function to translate a correlation matrix to a edgelist format where the correlations are in one column.

Usage

longR(corMat)

Arguments

corMat

Matrix you want to convert (doesn't need to be a correlation matrix)

Value

a dataframe with c("varX","varY","rXY") layout


funfield-lab/fancyr documentation built on Nov. 21, 2023, 2:42 p.m.