avehtari / ROS-Examples

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

pg 99 - set.seed() for the simulation would be helpful #106

Closed hachiko1024 closed 2 years ago

hachiko1024 commented 2 years ago

While going through the book, I'm practicing the rcode but the rnorm simulation on pg 99 doesn't have a seed so it's harder to reporduce

avehtari commented 2 years ago

set.seed is included in the code and the page mentions "Code for this example is in the folder Simplest." The code in the book is often slightly simplified, but you can find the complete code in the book web page