covariance_with_ranks: covariance_with_ranks

Description Usage Arguments Value

View source: R/covariance_with_ranks.R

Description

Computes the covariance of the input matrix, adjusting for ranks if given. If no rank_cols are given, this function is identical to just calling cov(x_mat)

Usage

1
covariance_with_ranks(x_mat, rank_cols = NULL)

Arguments

x_mat

Matrix of variables (numeric)

rank_cols

Names of columns to be converted to ranks before analysis

Value

Covariance matrix of x_mat (potentially adjusted for ranks)


rzgross/uRbanmatching documentation built on Dec. 22, 2021, 8:20 p.m.