R2: Pearson' R2.

Description Usage Arguments Value See Also

View source: R/stats.R

Description

Take two numeric vectors and return the "Pearson" coefficient of correlation for the linear regression between x and y.

Usage

1
R2(x, y)

Arguments

x, y

numeric vectors of same length.

Value

Return the "Pearson" coefficient of correlation for the linear regression between the vectors x and y.

See Also

rss, mse, rmse, R2mse, pmse


functClust documentation built on Dec. 2, 2020, 5:06 p.m.