File: PAGE_estimate.R

package info (click to toggle)
r-cran-shinystan 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,172 kB
  • sloc: sh: 15; makefile: 7
file content (70 lines) | stat: -rw-r--r-- 1,703 bytes parent folder | download | duplicates (2)
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
tabsetPanel(
  id = "estimate_tabset",
  
  #### multiparameter plot ####
  tabPanel(
    title = "Parameters plot",
    wellPanel(
      fluidRow(
        column(width = 6,
               uiOutput("ui_multiparam_selectize")),
        column(
          width = 3,
          offset = 1,
          sliderInput(
            "param_plot_ci_level",
            h5("Posterior interval"),
            width = "75%",
            ticks = FALSE,
            min = 50,
            max = 95,
            value = 50,
            step = 5,
            post = "%"
          )
        ),
        column(width = 2,
               a_options("multiparam"))
      ),
      fluidRow(column(
        width = 3,
        offset = 1,
        span(id = "params_to_plot_regex_label",
             "Add parameters by regex search")
      )),
      fluidRow(
        column(
          width = 1,
          actionButton("param_plot_regex", label = "Search", class = "regex-go")
        ),
        column(
          width = 3,
          textInput("params_to_plot_regex", label = NULL, value = "")
        ),
        column(width = 5,
               textOutput("invalid_regex"))
      )
    ),
    source_ui("multiparam_customize.R"),
    plotOutput("multiparam_plot_out", width = "90%"),
    br()
  ),
  
  #### posterior summary statistics ####
  tabPanel(
    "Posterior summary statistics",
    source_ui("table_customize.R"),
    div(DT::dataTableOutput("all_summary_out"),
        style = "overflow-x: auto")
  ),
  
  #### LaTex tables ####
  tabPanel(
    "Generate LaTeX table",
    br(),
    sidebarLayout(
      mainPanel = source_ui("table_latex_main.R"),
      sidebarPanel = source_ui("table_latex_sidebar.R")
    )
  )
)