% Generated by roxygen2: do not edit by hand % Please edit documentation in R/metric_gen.R \name{metric_gen} \alias{metric_gen} \title{Generate performance statistics for models} \usage{ metric_gen(x) } \arguments{ \item{x}{A data frame containing at least the columns "pred" and "tv"} } \value{ x, with additional columns for performance metrics } \description{ Generate performance statistics for models, based on their predictions and the true values } \examples{ metric_gen(x) }