View source: R/model_evaluation.R
filter_gibbs_samples | R Documentation |
This is a helper function that filters Gibbs samples.
filter_gibbs_samples(
x,
P_f,
P_r,
J,
C,
cov_sym,
ordered = FALSE,
keep_par = c("s", "alpha", "b", "Omega", "Sigma", "d"),
drop_par = NULL
)
x |
An object of class |
P_f |
The number of covariates connected to a fixed coefficient (can be 0). |
P_r |
The number of covariates connected to a random coefficient (can be 0). |
J |
The number (greater or equal 2) of choice alternatives. |
cov_sym |
Set to |
ordered |
A boolean, |
keep_par |
A vector of parameter names which are kept. |
drop_par |
A vector of parameter names which get dropped. |
An object of class RprobitB_gibbs_samples
filtered by the labels of
parameter_labels
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.