首页 > 解决方案 > 使用灵活包在 r 中运行模型时下标越界

问题描述

我在 R 中运行以下代码

nimbleNBModel <- nimbleModel(code = nbModel, name = 'nimbleNBModel', 
                             constants = Consts, data = nimbleData, inits = inits)

我收到一个错误

定义模型...
decl$symbolicParentNodesReplaced[[which(vars[idx] == decl$rhsVars)]] 中的错误:下标越界

任何人都可以建议出了什么问题....

标签: rnimble

解决方案


推荐阅读