r2: r-square

Description Usage Arguments Details

View source: R/error_functions.R

Description

r-square

Usage

1
r2(yobs, yhat)

Arguments

yobs

observed

yhat

predicted

Details

there are two rsquare functions because I clipped them from different pieces of code. They take different types of inputs but perform the same calculation.


hoargroup/stationsweRegression documentation built on April 3, 2018, 12:03 p.m.