TimStats commited on
Commit
bdcb832
·
verified ·
1 Parent(s): 5b64691

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +3 -3
app.R CHANGED
@@ -35,13 +35,13 @@ ui <- fluidPage(
35
  radioButtons("pitch", "Pitch Type", choices = c("Fastball", "Offspeed", "Breaking"), inline = TRUE),
36
  radioButtons("phand", "Hand", choices = c("R", "L"), inline = TRUE),
37
 
38
- numericInput("velo", "Velocity (mph)", value = 90, min = 70, max = 110, step = 1),
39
  numericInput("ivb", "Induced Vertical Break (in)", value = 16, min = -20, max = 30, step = 0.1),
40
  numericInput("hb", "Horizontal Break (in)", value = 6, min = -20, max = 20, step = 0.1),
41
  numericInput("spinrate", "Spin Rate (rpm)", value = 2300, min = 1000, max = 3500, step = 10),
42
- numericInput("ext", "Extension (ft)", value = 6, min = 5, max = 8, step = 0.1),
43
  numericInput("spinaxisdiff", "Spin Axis Difference (°)", value = 0, min = -180, max = 180, step = 1),
44
- numericInput("x0", "Horizontal Release Point (ft)", value = 0, min = -5, max = 5, step = 0.1),
45
  numericInput("z0", "Vertical Release Point (ft)", value = 5, min = 3, max = 8, step = 0.1),
46
  selectInput("feature_to_vary", "Select Feature to Vary:",
47
  choices = c("Velocity" = "start_speed",
 
35
  radioButtons("pitch", "Pitch Type", choices = c("Fastball", "Offspeed", "Breaking"), inline = TRUE),
36
  radioButtons("phand", "Hand", choices = c("R", "L"), inline = TRUE),
37
 
38
+ numericInput("velo", "Velocity (mph)", value = 95, min = 70, max = 110, step = 1),
39
  numericInput("ivb", "Induced Vertical Break (in)", value = 16, min = -20, max = 30, step = 0.1),
40
  numericInput("hb", "Horizontal Break (in)", value = 6, min = -20, max = 20, step = 0.1),
41
  numericInput("spinrate", "Spin Rate (rpm)", value = 2300, min = 1000, max = 3500, step = 10),
42
+ numericInput("ext", "Extension (ft)", value = 6.3, min = 5, max = 8, step = 0.1),
43
  numericInput("spinaxisdiff", "Spin Axis Difference (°)", value = 0, min = -180, max = 180, step = 1),
44
+ numericInput("x0", "Horizontal Release Point (ft)", value = -1.5, min = -5, max = 5, step = 0.1),
45
  numericInput("z0", "Vertical Release Point (ft)", value = 5, min = 3, max = 8, step = 0.1),
46
  selectInput("feature_to_vary", "Select Feature to Vary:",
47
  choices = c("Velocity" = "start_speed",