powered by
This normal prior distribution is a product of univariate N(mu,sig)
prior_n(pars, mu, sig, Log = FALSE)
parameter values
mean value of each parameter value
standard deviation of each parameter value
logical to take the log of prior or not (defaults to FALSE)
val Product of probability values for each parameter
# NOT RUN { prior_n(rep(0,6),0,10,Log = TRUE) #log of prior prior_n(rep(0,6),0,10,Log = FALSE) #no log # }
Run the code above in your browser using DataLab