% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plotting_utils.R
\name{plot_residuals_distribution}
\alias{plot_residuals_distribution}
\title{Plotting Residuals Distribution}
\usage{
plot_residuals_distribution(analysis_object)
}
\arguments{
\item{analysis_object}{Fitted analysis_object with 'fine_tuning()'.}
}
\value{
analysis_object
}
\description{
The \strong{plot_residuals_distribution()} function generates histogram and kernel
density visualizations of residuals for regression models on training and
test datasets. Enables assessment of residual normality through visual
inspection of histogram shape, detection of systematic biases indicating
omitted variables or model specification errors, and identification of heavy
tails suggesting outliers or influential observations.
}
\examples{
# Note: For obtaining the residuals distribution plot the user needs to
# complete till fine_tuning( ) function of the MLwrap pipeline.
# See the full pipeline example under table_best_hyperparameters()
# Final call signature:
# plot_residuals_distribution(wrap_object)
}
\seealso{
\code{\link{table_best_hyperparameters}}
}
