The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
library(shiny)
library(shinydashboard)
library(glue)
<- dashboardPage(
ui dashboardHeader(),
dashboardSidebar(
numericInput(
"prior_mean",
label = h3("Prior Mean"),
value = 0,
step = 0.1
),numericInput(
"prior_sd",
label = h3("Prior SD"),
value = 1,
min = 0.01,
step = 0.1
)
),dashboardBody(vizdraws::vizdrawsOutput('chart'))
)
<- function(input, output) {
server $chart <- vizdraws::rendervizdraws({
output::vizdraws(
vizdrawsprior = glue("N({input$prior_mean},{input$prior_sd})"),
posterior = rnorm(1000, mean = 0.2, sd = 0.1),
MME = 0.1,
threshold = 0.7,
display_mode_name = TRUE,
title = "Shiny Example"
)
})
}
shinyApp(ui, server)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.