1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
sidebarLayout(
position = "right",
sidebarPanel(
width = 3,
class = "optionswell",
strongBig("Definitions"),
hr(class = "hroptions"),
div(actionLink("open_quick_mcse", "mcse (se_mean)")),
div(actionLink("open_quick_neff", "n_eff (ESS)")),
div(actionLink("open_quick_rhat", "Rhat")),
br(),
strongBig("Warnings"),
hr(class = "hroptions"),
withMathJax(),
sliderInput(
"n_eff_threshold",
"\\(n_{eff} / N\\) warning threshold",
ticks = FALSE,
value = 10,
min = 0,
max = 100,
step = 5,
post = "%"
),
sliderInput(
"mcse_threshold",
"\\(\\text{se}_{mean} / sd\\) warning threshold",
ticks = FALSE,
value = 10,
min = 0,
max = 100,
step = 5,
post = "%"
),
sliderInput(
"rhat_threshold",
"\\(\\hat{R}\\) warning threshold",
ticks = FALSE,
value = 1.1,
min = 1,
max = 1.2,
step = 0.01
)
),
mainPanel(
width = 9,
withMathJax(),
br(),
splitLayout(
h4("\\(n_{eff} / N\\)", align = "center"),
h4("\\(mcse / sd\\)", align = "center"),
h4("\\(\\hat{R}\\)", align = "center")
),
splitLayout(
plotOutput("n_eff_plot_out", height = "200px"),
plotOutput("mcse_over_sd_plot_out", height = "200px"),
plotOutput("rhat_plot_out", height = "200px")
),
hr(),
div(
fluidRow(
column(width = 4, strong(textOutput(
"n_eff_warnings_title"
))),
column(width = 4, strong(
textOutput("mcse_over_sd_warnings_title")
)),
column(width = 4, strong(textOutput(
"rhat_warnings_title"
)))
),
tags$style(
type = "text/css",
"#n_eff_warnings_title, #rhat_warnings_title, #mcse_over_sd_warnings_title {font-size: 13px;}"
),
br(),
fluidRow(
column(width = 4, div(style = "color: #006dcc;", textOutput("n_eff_warnings"))),
column(width = 4, div(
style = "color: #006dcc;", textOutput("mcse_over_sd_warnings")
)),
column(width = 4, div(style = "color: #006dcc;", textOutput("rhat_warnings")))
),
tags$style(
type = "text/css",
"#n_eff_warnings, #rhat_warnings, #mcse_over_sd_warnings {font-size: 12px;}"
)
)
)
)
|