Hossein69 commited on
Commit
1311da2
·
1 Parent(s): f6d2457

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +4 -3
app.R CHANGED
@@ -7,9 +7,10 @@ df <- readr::read_csv("penguins.csv")
7
  # Find subset of columns that are suitable for scatter plot
8
  df_num <- df |> select(where(is.numeric), -Year)
9
 
10
- ui <- page_fillable(theme = bs_theme(bootswatch = "minty"),
11
- layout_sidebar(fillable = TRUE,
12
- sidebar(
 
13
  varSelectInput("xvar", "X variable", df_num, selected = "Bill Length (mm)"),
14
  varSelectInput("yvar", "Y variable", df_num, selected = "Bill Depth (mm)"),
15
  checkboxGroupInput("species", "Filter by species",
 
7
  # Find subset of columns that are suitable for scatter plot
8
  df_num <- df |> select(where(is.numeric), -Year)
9
 
10
+ ui <- fluidPage(
11
+ titlePanel("My Shiny App"),
12
+ sidebarLayout(
13
+ sidebarPanel(
14
  varSelectInput("xvar", "X variable", df_num, selected = "Bill Length (mm)"),
15
  varSelectInput("yvar", "Y variable", df_num, selected = "Bill Depth (mm)"),
16
  checkboxGroupInput("species", "Filter by species",