I want to use value selected in input (below) in loop.
ui <- fluidPage( #User dropbox selectInput("state", "Choose state", choices=List