Description Usage Arguments Examples
View source: R/particles-object.R
particles
returns a particle with specified names.
1 |
... |
Names and types of object that is being used for each component in a particle. |
weights |
(Un)normalised weights of particles being created. |
1 2 3 4 | num_particles <- 10
len <- 2
rv <- matrix(rnorm(num_particles * len), nrow = num_particles, ncol = len)
prts <- particles(beta = rv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.