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.
Loading
Please sign in to comment