r_unif_polysph | R Documentation |
Simulates from a uniform distribution on the polysphere
\mathcal{S}^{d_1} \times \cdots \times \mathcal{S}^{d_r}
.
r_unif_polysph(n, d)
n |
sample size. |
d |
vector of size |
A matrix of size c(n, sum(d) + r)
with the sample.
# Simulate uniform data on (S^1)^2
r_unif_polysph(n = 10, d = c(1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.