if (FALSE) {
# Simulate data
m <- 100
n <- 50
W <- matrix(rpois(m*n, 100), m, n)
# Direct NLopt usage (advanced)
result <- bmdd.nlopt(W, type = "count")
# Recommended: use bmdd() instead
result <- bmdd(W, type = "count") # auto-selects NLopt
}
Run the code above in your browser using DataLab