all_pairwise_correlations: Given two vectors, compute correlations for all possible...

Description Usage Arguments Value

View source: R/mask_combinations.R

Description

Given two vectors, compute correlations for all possible masks

Usage

1
all_pairwise_correlations(v1, v2, m1, m2, mask_ranges)

Arguments

v1

Input vector 1

v2

Input vector 2

m1

Pre-computed mask for v1

m2

Pre-computed mask for v2

mask_ranges

List of start, end tuples for each of the mask groups

Value

A vector of correlations for all possible masks. If a given mask is in conflict with the input masks, the entry in the vector will contain NA in that position.


mkuhn/maskedCorr documentation built on May 23, 2019, 2:03 a.m.