File: trivariate_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 (70 lines) | stat: -rw-r--r-- 1,618 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
shinyjs::hidden(div(
  id = "trivariate_options",
  wellPanel(
    class = "optionswell",
    hr(class = "hroptions"),
    strongBig("Transformation"),
    transform_helpText("x,y,z"),
    fluidRow(
      column(
        width = 3,
        transformation_selectInput("trivariate_transform_x")
      ),
      column(
        width = 3,
        transformation_selectInput("trivariate_transform_y")
      ),
      column(
        width = 3,
        transformation_selectInput("trivariate_transform_z")
      ),
      column(
        width = 2,
        actionButton(
          "trivariate_transform_go",
          label = "Transform",
          class = "transform-go"
        )
      )
    ),
    hr(class = "hroptions"),
    fluidRow(
      column(
        width = 3,
        colourpicker::colourInput("trivariate_pt_color", strongMed("Color"), value = base_fill)
      ),
      column(
        width = 3,
        sliderInput(
          "trivariate_pt_size",
          strongMed("Size"),
          value = 0.5,
          min = 0,
          max = 2,
          step = 0.1,
          ticks = FALSE
        )
      ),
      column(
        width = 2,
        radioButtons(
          "trivariate_grid",
          strongMed("Grid"),
          choices = list(Show = "show", Hide = "hide"),
          selected = "show",
          inline = FALSE
        )
      ),
      column(
        width = 2,
        radioButtons(
          "trivariate_flip",
          strongMed("y-axis"),
          choices = list(Normal = "normal", Flipped = "flip"),
          selected = "normal",
          inline = FALSE
        )
      )
    )
  )
))