adjusted_R2: BMI585 final project: adjusted R^2 measure for the regression...

Description Usage Arguments Value Examples

View source: R/adjusted_R2.R

Description

This functions accept two numerical arrays

Usage

1
adjusted_R2(y, y_d, n)

Arguments

y:

the numerical array for the ground truth

y_d:

the numerical array for the regression

Value

R_s: the adjusted R^2 measure

Examples

1
2
3
y <- c(1,1,1)
y_d <- c(1,1,0.5)
adjusted_R2(y,y_d)

shaoyanpan/BMI585final2 documentation built on Dec. 23, 2021, 1:20 a.m.