Skip to content

Nonfatal error during fit model with MCMC #101

@martinamorris

Description

@martinamorris
Image

Also shows up when running MCMC dx

refers to this chunk of code

output$diagnostics <- renderPrint({
if(input$fitButton == 0 | ergm.terms()=="NA"){
return()
}
mod <- input$choosemodel_mcmc
if(mod=="Current"){
mod <- model1reac()
} else {
modn <- as.numeric(substr(mod,6,6))
mod <- values$modelfits[[modn]]
}
isolate(tryCatch(
mcmc.diagnostics(mod),
error = function(e) cat("MCMC was not run or MCMC sample was not stored.")))
})
outputOptions(output, 'diagnostics', suspendWhenHidden=FALSE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions