avehtari / ROS-Examples

Regression and other stories R examples
https://avehtari.github.io/ROS-Examples/
325 stars 256 forks source link

Small typo in code example on page 179 #58

Closed omrihar closed 4 years ago

omrihar commented 4 years ago

There seems to be a small typo in the last code example on page 179. It states

fit_2 <- update(fit_2, prior=hs())

however fit_2 wasn't defined before. I guess it should read:

fit_2 <- update(fit_1, prior=hs())
avehtari commented 4 years ago

Thanks! Fixed for the future printings and added to the errata.