cov.: Population-level covariance

Description Usage Arguments Value

Description

Covariance of two vectors giving the elements of a bivariate population.

Usage

1
cov.(x, y, p)

Arguments

x

A numeric vector giving the first variable of the population.

y

A numeric vector giving the second variable of the population.

p

An optional vector of weights. If missing, equal weights are used.

Value

The covariance of x and y.


popmoments documentation built on May 2, 2019, 5 p.m.

Related to cov. in popmoments...