Spaces:
Running
Running
Update app.R
Browse files
app.R
CHANGED
|
@@ -202,8 +202,8 @@ ui <- dashboardPage(
|
|
| 202 |
|
| 203 |
conditionalPanel(
|
| 204 |
condition = "input.data_source == 'simulate'",
|
| 205 |
-
numericInput("sim_n", "Number of units (rows)", value =
|
| 206 |
-
numericInput("sim_p", "Number of covariates (columns)", value =
|
| 207 |
actionButton("simulate_btn", "Simulate X")
|
| 208 |
)
|
| 209 |
),
|
|
@@ -685,3 +685,4 @@ server <- function(input, output, session) {
|
|
| 685 |
# Run the Application
|
| 686 |
# ---------------------------------------------------------
|
| 687 |
shinyApp(ui = ui, server = server)
|
|
|
|
|
|
| 202 |
|
| 203 |
conditionalPanel(
|
| 204 |
condition = "input.data_source == 'simulate'",
|
| 205 |
+
numericInput("sim_n", "Number of units (rows)", value = 100, min = 2),
|
| 206 |
+
numericInput("sim_p", "Number of covariates (columns)", value = 50, min = 1),
|
| 207 |
actionButton("simulate_btn", "Simulate X")
|
| 208 |
)
|
| 209 |
),
|
|
|
|
| 685 |
# Run the Application
|
| 686 |
# ---------------------------------------------------------
|
| 687 |
shinyApp(ui = ui, server = server)
|
| 688 |
+
|