883f7f27 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/r_squared_class.R
|
8db793ae |
\name{r_squared}
|
883f7f27 |
\alias{r_squared}
|
d0f81a51 |
\title{Coefficient of determination (R-squared)}
|
8db793ae |
\usage{
r_squared(...)
}
|
56a019fe |
\arguments{
|
d0f81a51 |
\item{...}{Additional slots and values passed to \code{struct_class}.}
|
56a019fe |
}
|
7af536f9 |
\value{
|
5d51daa4 |
A \code{
r_squared
} object. This object has no \code{output} slots.
|
7af536f9 |
}
|
883f7f27 |
\description{
|
d0f81a51 |
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.
|
883f7f27 |
}
|
09388373 |
\section{Inheritance}{
A \code{r_squared} object inherits the following \code{struct} classes: \cr\cr
|
55546c0b |
\verb{[r_squared]} >> \verb{[metric]} >> \verb{[struct_class]}
|
09388373 |
}
|
5dcc4dc2 |
\examples{
|
09388373 |
M = r_squared()
|
5dcc4dc2 |
MET = r_squared()
}
|