File: hist_customize.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 (50 lines) | stat: -rw-r--r-- 1,190 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
shinyjs::hidden(div(
  id = "hist_options",
  wellPanel(
    class = "optionswell",
    hr(class = "hroptions"),
    strongBig("Transformation"),
    transform_helpText("x"),
    fluidRow(
      column(width = 4, transformation_selectInput("hist_transform_x")),
      column(
        width = 2,
        actionButton("hist_transform_x_go", label = "Transform", class = "transform-go")
      )
    ),
    hr(class = "hroptions"),
    fluidRow(
      column(
        width = 2,
        numericInput(
          "hist_chain",
          label = strongMed("Chain"),
          min = 0,
          max = .nChains,
          step = 1,
          value = 0
        )
      ),
      column(
        width = 4,
        sliderInput(
          "hist_binwd",
          label =  strongMed("Binwidth (0 = default)"),
          min = 0,
          value = 0,
          max = 50,
          step = 0.05,
          ticks = FALSE
        )
      ),
      column(
        width = 3,
        colourpicker::colourInput("hist_fill_color", strongMed("Fill"), base_fill)
      ),
      column(
        width = 3,
        colourpicker::colourInput("hist_line_color", strongMed("Line"), vline_base_clr)
      )
    )
  )
))