[.VectorDistribution | R Documentation |
Once a VectorDistribution
has been constructed, use [
to extract one or more Distribution
s from inside it.
## S3 method for class 'VectorDistribution' vecdist[i]
vecdist |
VectorDistribution from which to extract Distributions. |
i |
indices specifying distributions to extract or ids of wrapped distributions. |
v <- VectorDistribution$new(distribution = "Binom", params = data.frame(size = 1:2, prob = 0.5)) v[1] v["Binom1"]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.