Closed marboe123 closed 4 years ago
The error was caused by "0 +" in the mu_predictors part. If I ommit "0 +" the error disappears. The code becomes this in that case:
## Hierarchical modeling
library(splines)
eb_career_prior <- career_full %>%
ebb_fit_prior(H, AB, method = "gamlss",
mu_predictors = ~ ns(year, df = 5) * bats + log(AB))
Hi David,
Last month I asked you a question about fuzzyjoin. From there I discovered you have written a book. I have printed your book and it is very interesting to read!
Currently I try to run the code from chapter 11. If I run this code snippet I receive an error:
The error is:
Do you know which can be the cause?
Thanks a lot!
Kind regards, Marcel