r_squared: Coefficient of determination (R-squared)

View source: R/r_squared_class.R

r_squaredR Documentation

Coefficient of determination (R-squared)

Description

R-squared is a metric used to assess the goodness of fit for regression models. It measures how much variance of one variable can be explained by another variable.

Usage

r_squared(...)

Arguments

...

Additional slots and values passed to struct_class.

Value

A r_squared object. This object has no output slots.

Inheritance

A r_squared object inherits the following struct classes:

⁠[r_squared]⁠ >> ⁠[metric]⁠ >> ⁠[struct_class]⁠

Examples

M = r_squared()

MET = r_squared()


computational-metabolomics/structtoolbox documentation built on July 2, 2024, 10:46 p.m.