### Use of the Bolstad R library # Normal-Norml problem # library(Bolstad) help(normnp) # normal with normal prior on the mean y = c(198.14, 198.45, 196.59, 197.64, 198.12) sigma = 1 # prior parameters mu0 = 200 sigma0 = 10 normnp(y,sigma,mu0,sigma0)