Description Usage Arguments Value Examples
Evaluates the exact log integrated complete likelihood for a given allocation matrix.
1 |
adj_cube |
A binary array of size |
allocations |
This should be a matrix of size |
verbose |
TRUE or FALSE, indicating whether a lenghty output should be printed out. Defaults to FALSE |
computing_time |
Number of seconds required for the evaluation. |
prior_value |
Contribution to the exact log-ICL given by the marginal prior on the allocations. |
likelihood_value |
Contribution to the exact log-ICL given by the marginal likelihood. |
icl_value |
Exact log-ICL value for the allocation matrix given. |
1 2 3 4 5 6 | set.seed(12345)
data(reality_mining_84)
tframes <- dim(reality_mining_84)[3]
N <- dim(reality_mining_84)[1]
allocations <- matrix(sample(1:10,tframes*N,TRUE),tframes,N)
ICLExact(adj_cube = reality_mining_84, allocations = allocations, verbose = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.