summaryrefslogtreecommitdiff
path: root/inst/app/app.R
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2024-05-09 20:22:45 +0000
committerNaeem Model <me@nmode.ca>2024-05-09 20:22:45 +0000
commitdce01ac19a0298388089ce4297a44ef2aa2c4c46 (patch)
tree1dbc74e9f7e9139f14a517b33a0e3c82c6e04dd0 /inst/app/app.R
parente06a56581d43cb3c59d51b9b39e6d0fb36efe31c (diff)
Revamp Shiny app
Diffstat (limited to 'inst/app/app.R')
-rw-r--r--inst/app/app.R13
1 files changed, 13 insertions, 0 deletions
diff --git a/inst/app/app.R b/inst/app/app.R
new file mode 100644
index 0000000..639dc87
--- /dev/null
+++ b/inst/app/app.R
@@ -0,0 +1,13 @@
+ui <- htmlTemplate("index.html")
+
+server <- function(input, output) {
+ source("scripts/data.R", local = TRUE)
+ source("scripts/estimators.R", local = TRUE)
+
+ react_values <- reactiveValues()
+
+ data_logic(input, output, react_values)
+ estimators_logic(input, output, react_values)
+}
+
+shinyApp(ui, server)