Check family argument
If no error is thrown than either
f itself is returned
(if already a family) or the family object created from
f a string or function. Code adapted from rstanarm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.