# NOT RUN {
Y <- c(0, 27, 37, 19, 4, 4, 1, 1, 97, 22, 37, 25, 2, 1, 3, 5,
83, 36, 34, 18, 3, 5, 0, 2, 30, 5, 23, 8, 0, 3, 0, 2)
Y <- array(Y, dim = c(2, 2, 2, 2, 2))
# Compute marginal array over lists 1 and 3
D <- apply(Y, c(1, 3), sum)
dga:::CompLogML(D, 1:300, 0.5)
# }
Run the code above in your browser using DataLab