prop_nonzero_matrix: prop_nonzero_matrix

Description Usage Arguments Value

View source: R/DCARS.R

Description

The prop_nonzero_matrix function calculates the proportion of observations with nonzero values in both variables across a number of pairs of variables, gived in PPI

Usage

1

Arguments

dat

matrix with rownames appearing in PPI

PPI

two column matrix with entries that should appear in rownames of dat

offset

should 1 be added when pospos is 0 or all

Value

numeric of weighted correlations for the sequence of weights given


shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.