powered by
Computes standard deviation of a prior distribution.
# S3 method for prior sd(x, ...)
a standard deviation of an object of class 'prior'.
a prior
unused arguments
prior()
# create a standard normal prior distribution p1 <- prior(distribution = "normal", parameters = list(mean = 1, sd = 1)) # compute sd of the prior distribution sd(p1)
Run the code above in your browser using DataLab