Skip to contents

Calculate correlation between a vector and matrix columns

Usage

cpp_batch_cor(vec1, mat)

Arguments

vec1

Reference vector

mat

Matrix where each column is compared to vec1

Value

Pearson correlation coefficients