Learn R Programming

rgp (version 0.4-1)

rsquared: Coefficient of determination (R^2)

Description

Coefficient of determination (R^2)

Usage

rsquared(x, y)

Arguments

x
A numeric vector or list.
y
A numeric vector or list.

Value

The coefficient of determination (R^2) between x and y.