% Generated by roxygen2: do not edit by hand % Please edit documentation in R/evaluation_identity.R \name{get_metrics_2plot} \alias{get_metrics_2plot} \title{Gets R-squared values for plotting.} \usage{ get_metrics_2plot(data) } \arguments{ \item{data}{Data frame with R-squared values and RMSE values.} } \value{ A data frame with additional columns for labeling in the plot. } \description{ This function takes a data frame with R-squared and RMSE values, computes position coordinates, and prepares data for plotting. } \examples{ data_metrics <- data.frame(from = c("A", "B", "C"), description = c("Desc1", "Desc2", "Desc3"), R2 = c(0.9, 0.8, 0.7), RMSE = c(0.6, 0.2, 0.1)) result <- get_metrics_2plot(data_metrics) }