Skip to content
Commit 7149a43f authored by aliaksah's avatar aliaksah
Browse files

comment fixed

\item \textbf{Lack of input validation in \texttt{get.best.model}.} \texttt{get.best.model} requires specific object types but does not check inputs. It should be a generic method to avoid multiple \texttt{if} statements.

\textbf{Response:} Fixed. We reimplemented \texttt{get.best.model} as a generic function with methods \texttt{get.best.model.gmjmcmc} and \texttt{get.best.model.mjmcmc} and their parallel counterparts for the respective classes. Each method includes input validation with \texttt{stopifnot(inherits(object, ...))} to ensure the correct object type (\texttt{gmjmcmc} or \texttt{mjmcmc}). Examples use small datasets (50x6 matrices) for fast execution.
parent 6379f4ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment