Closed venpopov closed 8 months ago
actually this doesn't work if you want to predict mu, because then the default constant intercept is still there and brms throws an error:
Error: The following priors do not correspond to any model parameter:
Intercept ~ constant(0)
Function 'get_prior' might be helpful to you.
For example for the sdmSimple we fix mu to 0, but people might want to estimate bias to response more clockwise or counterclockwise. It's actually really easy to do and we don't have to change anything in the code. For example, this works:
giving output:
where the intercept (mu) is now estimated (and in this case there is evidence for bias)
This works with all the other models as well, but using
mu1
insteadSo we can just add this to vignettes.