inst/apps/samplesize_determination_attributiv/design_aid/ui_design_aid.R

div( class="well  well-sm", style = "margin: 0px;",

     splitLayout(cellWidths = c("85%","15%"),
                 plotOutput("design_aid_plot", height = "600px"),
                 verticalLayout(
                   actionButton("help_bootstrap",label = "Hilfe"),
                   selectInput("scaling_design_aid_plot", label = "Scales", choices = c("Auto" = "auto", "Fix" = "manual")),
                   numericInput("mean_max_aid", label = "max Mean", value = 100),
                   numericInput("mean_min_aid", label = "min Mean", value = 0),
                   numericInput("sd_max_aid", label = "max sd", value = 25),
                   numericInput("sd_min_aid", label = "min sd", value = 0),
                   selectInput("display_bootstrap_samples", label = "Simulate Tests", choices = c("show" = "show", "don't show" = "dont_show")),
                   selectInput("bootstrap_type", label = "Sim.-Type", choices = c("parametric" = "parametric", "ordinary" = "ordinary")),
                   downloadButton("entwicklungs_report", HTML("Report<br/>Vorversuch"),
                                  title = "Vorentwicklungs-Report-Template als pdf generieren", style = "margin:0px;")
                 )
     ),

     div( class="well  well-sm", style = "margin: 0px;",
          splitLayout(
            cellWidths = c("50%", "50%"),

            div( class="well  well-sm", style = "margin: 0px;",
                 numericInput("p_pass_desired", label = HTML("Angestrebte 'Erfolgs-Wahrscheinlichkeit':"),value = 99, min = 0, max = 100, width = "80"),
                 uiOutput("sample_size_recommendation")
            ),

            div( class="well  well-sm", style = "margin: 0px;",
                 numericInput("sample_size_desired", label = HTML("Gewünschte Stichprobengröße:"), width = "80",value = 5, min = 2),
                 uiOutput("p_pass_calculated")
            )
          ),
          actionButton("help_design_aid", label = HTML("Hilfe"), style = "margin:0px;")
     )
)
stephanGit/leistungstests documentation built on May 30, 2019, 3:14 p.m.