Learn R Programming

pmxcode (version 0.2.0)

get_correlation_table: Convert of covariance matrix into a 0/1 correlation map table

Description

Convert of covariance matrix into a 0/1 correlation map table

Usage

get_correlation_table(x, na_zero = FALSE)

Value

A matrix of 0 and 1

Arguments

x

A covariance matrix

na_zero

Logical indicating whether NA should be replaced by 0's