The following code filters rows of CO2 with specific names from the 'plant' column. However i have been having trouble doing this. When i use selectinput i dont get all the rows. For example in the following picture i have selected so many types of plants but only a few rows show up.

library(shiny)
library(tidyverse)
ui <- fluidPage((fluidRow(column(6,
selectInput('co2',choices=CO2[1],multiple = T),
tableOutput('table'))
)
)
)
server <- function(input, output, session) {
output$table <-renderTable(
filter(CO2,Plant==input$co2))
}
shinyApp(ui, server)