Skip to contents

change lower triangle values in a mirrored matrix to NA

change lower triangle values in a mirrored matrix to NA

Usage

get_upper_tri(correlation_mat)

get_upper_tri(correlation_mat)

Arguments

correlation_mat

matrix of correlation values

cormat

matrix of correlation values

Value

Returns a matrix of correlation values with lower triangle values changed to NA

Returns a matrix of correlation values with lower triangle values changed to NA