r_squared {structToolbox} | R 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.

### Examples

    MET = r_squared()

[Package structToolbox version 1.2.0 Index]