Skip to contents

Given a long data.frame, converts it to a possibly square correlation matrix

Usage

long_df_2_cor_matrix(long_df, is_square = TRUE)

Arguments

long_df

the long data.frame

is_square

should it be a square matrix?

Value

matrix