% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{qshap_result}
\alias{qshap_result}
\title{User-friendly constructor for qshap_result}
\usage{
qshap_result(
  rsq,
  feature_names = NULL,
  total_rsq = NULL,
  n_samples = NULL,
  n_features = NULL,
  loss = NULL
)
}
\arguments{
\item{rsq}{Numeric vector of feature-specific R-squared values}

\item{feature_names}{Character vector of feature names (optional)}

\item{total_rsq}{Numeric total R-squared (sum of feature-specific values)}

\item{n_samples}{Integer number of samples used}

\item{n_features}{Integer number of features}

\item{loss}{Optional loss matrix (n_samples x n_features)}
}
\value{
A validated qshap_result object
}
\description{
User-friendly constructor for qshap_result
}
