Code
joint(bernoulli(0.5), normal(0, 1))
Condition
Error in `initialize()`:
! Cannot construct a joint distribution from a combination of discrete and continuous distributions
Code
joint(normal(0, 2))
Condition
Error in `initialize()`:
! `joint()` must be passed at least 2 distributions
The number of distributions passed was: 1
Code
joint()
Condition
Error in `initialize()`:
! `joint()` must be passed at least 2 distributions
The number of distributions passed was: 0
Code
joint(normal(0, 2, dim = 3), normal(0, 1, dim = 3))
Condition
Error in `initialize()`:
! `joint()` only accepts probability distributions over scalars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.