cor_sample: cor_sample

Description Usage Arguments Value

View source: R/cor_sample.R

Description

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

Usage

1
cor_sample(x, y)

Arguments

x

a vector of numeric values

y

a value of numeric values

Value

the sample level correlation of the inputs is returned.


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