Skip to content

expand node names for paramNames #1

@abigailkeller

Description

@abigailkeller

In R/runCalibrationNIMBLE.R, the code breaks if paramNames contain parameters that are not scalars. Suggested fix for lines 113-116:

if (!all(model$expandNodeNames(paramNames) %in% colnames(MCMCSamples))) {
    stop("paramNames missing from MCMCSamples: ",
         paste(setdiff(paramNames, colnames(MCMCSamples)), collapse = ", "))
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions