R2: R-squared

Description Usage Arguments Value Examples

Description

Calculates R-squared given vectors for x and y

Usage

1
R2(x1, y1)

Arguments

x1

a vector or matrix of real numbers

y1

a vector or matrix of real numbers

Value

a vector of numbers with length equal to the number of trials (N)

Examples

1
2
R2(c(1,2,3,4,5),c(1,2,3,4,4))
R2(matrix(runif(10000),ncol=5),matrix(runif(10000),ncol=5))

gofMC documentation built on May 2, 2019, 5:55 a.m.

Related to R2 in gofMC...