cor_pop: cor_pop

Description Usage Arguments Value

View source: R/cor_pop.R

Description

Calculates the correlation of two vectors using n as the denominator (suitable for populations) rather than n-1 (suitable for samples).

Usage

1
cor_pop(x, y)

Arguments

x

a vector of numeric values

y

a value of numeric values

Value

the population level correlation of the inputs is returned.


bvidgen/RPackage documentation built on April 18, 2018, 8:26 p.m.