Description Usage Arguments Details Value Examples
This function initializes a tree (encoded as a list
).
1 | tree_init(X_0)
|
X_0 |
is a |
See Path storage in the particle filter, by Jacob, Murray, Rubenthaler (2015) [https://link.springer.com/article/10.1007/s11222-013-9445-x]
This function outputs a list
containing the following objects:
N
Number of particles (i.e. ncol(X_0)
).
M
Size of the buffer (initialized at 10*N
, increased automatically when needed).
dimX
Dimension of each particle (i.e. nrow(X_0)
).
a_star
Vector of length M
encoding ancestors (see details).
o_star
Vector of length M
encoding number of offsprings (see details).
x_star
Matrix of size dimX
by M
encoding particles (see details).
l_star
Vector of length N
containing the indices of the leaves (see details).
nstep
Height of the tree (starting at 0 with the root nodes).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.