binary_multiESS | R Documentation |
Multivariate ESS for binary variables
binary_multiESS(x, covmat = NULL, ncores = 2, eigen = FALSE, ...)
x |
a matrix or data.frame containing only binary variables |
covmat |
(optional) covariance matrix. |
ncores |
(optional) number of cores to be used. |
... |
arguments for mcse.multi function. Don't use this if a suitable matrix estimate from mcse.multi or mcse.initseq is already obtained (copied from mcmcse documentation). |
This is strongly based on the function multiESS
of the mcmcse package.
the multivariate ESS of the variables.
N <- 100
M <- 1000
X <- matrix(rbinom(n = N*M, size = 1, p = .234), ncol = N, nrow = M)
binary_multiESS(X)
mcmcse::multiESS(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.