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
)An object of class RprobitB_gibbs_samples filtered by the labels of
parameter_labels.
An object of class RprobitB_gibbs_samples.
[integer(1)]
The number of covariates connected to a fixed coefficient.
[integer(2)]
The number of covariates connected to a random coefficient.
[integer(1)]
The number >= 2 of choice alternatives.
Set to TRUE for labels of symmetric covariance elements.
[logical(1)]
If TRUE, the choice set alternatives is assumed to be ordered
from worst to best.
A vector of parameter names which are kept or dropped.