You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in mutate_impl(.data, dots) :
Evaluation error: non-numeric argument to binary operator.
I figured out the error is coming from the fact that sigma is a function, and so is causing the calculation of alpha0 to fail. I'm not too familiar with tidyr, and so am not sure how to pull out sigma for the predicted/fitted new data...
I appreciate your help in advance!
The text was updated successfully, but these errors were encountered:
I'm having an issue running the example from "Understanding empirical Bayesian hierarchical modeling (using baseball statistics)"
http://varianceexplained.org/r/hierarchical_bayes_baseball/
I run everything before and up to:
and get:
I figured out the error is coming from the fact that
sigma
is a function, and so is causing the calculation ofalpha0
to fail. I'm not too familiar with tidyr, and so am not sure how to pull out sigma for the predicted/fitted new data...I appreciate your help in advance!
The text was updated successfully, but these errors were encountered: