obtain_gof: Obtain goodness-of-fit figure from regression model object

View source: R/gof.R

obtain_gofR Documentation

Obtain goodness-of-fit figure from regression model object

Description

This extracts supported goodness-of-fit metrics from supported model classes.

Usage

obtain_gof(object, ...)

## Default S3 method:
obtain_gof(object, gof = "R2e", m0 = NULL, ...)

## S3 method for class 'lm'
obtain_gof(object, gof = "R2e", m0 = NULL, ...)

Arguments

object

Regression object. One of the supported classes documented in scam.

...

Arguments passed on to obtain_gof.default

gof

Goodness-of-fit metric, the changes of which shall be analysed

m0

This is the "empty model", the model without any explanatory variables.


Stan125/vibe documentation built on June 6, 2024, 11:36 a.m.