The two following code blocks are meant to be the same example with different values in the likelihood. However, variable names are different (prob_p -> prior, prob_data ->likelihood), and in the call to samples() the order of parameters is different.
The two following code blocks are meant to be the same example with different values in the likelihood. However, variable names are different (prob_p -> prior, prob_data ->likelihood), and in the call to samples() the order of parameters is different.
R code 3.2
R code 3.3:
R code 3.11: