slice_rcpp | R Documentation |
A slice sampler for the latent lengths r
slice_rcpp(X1, X2, theta, beta1, beta2, n, r)
X1 |
A model matrix for component I. |
X2 |
A model matrix for component II. |
theta |
A vector with the circular dependent variable. |
beta1 |
A matrix containing the coefficients of component I for the current iteration. |
beta2 |
A matrix containing the coefficients of component II for the current iteration. |
n |
An integer indicating the sample size of the data. |
r |
A matrix with the estimates of r of the previous iteration. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.