Error with apollo_prediction
Posted: 21 Jan 2022, 16:38
Dear Prof Hess,
I am using Apollo v0.2.6 and working on the prediction of a LC model. I've received the following error message when using the apollo_prediction function.
I traced the error back to the apollo_avgInterDraws function and noticed that in line 106, the code is running as
It seems to me that the condition should be && instead of &, as the second condition should not be evaluated if the first condition is FALSE.
Could you please take a look?
Thank you!
Richard
I am using Apollo v0.2.6 and working on the prediction of a LC model. I've received the following error message when using the apollo_prediction function.
Code: Select all
Error in if (is.matrix(P[[j]][[k]]) & ncol(P[[j]][[k]]) == nInter) P[[j]][[k]] = rowMeans(P[[j]][[k]]) :
argument is of length zero
Code: Select all
if (is.matrix(P[[j]][[k]]) & ncol(P[[j]][[k]]) ==
nInter)
Could you please take a look?
Thank you!
Richard