Description Usage Examples
View source: R/distributions.R
Creates custom distributions
1
custom_lpdf(f)
1 2 3 4 5 6
## Not run: # define normal in terms of precision f = function(x,mean,prec) dnorm(x, a, 1/sqrt(prec)) new_f = lpdf_custom(f) ## End(Not run)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.