r_squared_using_mae: R squared calculated using mean absolute error (MAE) rather...

View source: R/r_squared_using_mae.R

r_squared_using_maeR Documentation

R squared calculated using mean absolute error (MAE) rather than likelihood function

Description

R squared calculated using mean absolute error (MAE) rather than likelihood function

Usage

r_squared_using_mae(obj, data, target = "Goals")

Arguments

obj

glm object

data

optional, data to evaluate r squared on (default is training data taken from the glm object)

target

character string specifying the target/response variable


kristian-bak/football documentation built on Oct. 8, 2022, 2:11 p.m.