R2.: Population-level R-squared

Description Usage Arguments Value

Description

R-squared

Usage

1
R2.(x, y, p)

Arguments

x

A numeric vector giving the population.

y

A numeric vector giving the population.

p

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

Value

The R-squared of x and y.


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