I'm building a Shiny app that reads in a csv and then displays three shiny dataTables, each displayed in its own tabPanel; i'm having trouble figuring out how to handle the third table. 
The input csv contains values that look like
0, 1, 2, 3, 4, 5
0.01, 0.02, 0.11, 0.00, 0.1
.
.
.
I'm trying to display a table that displays the values, and an additional column, that tally's row values that are smaller than a slider predicate. So if I set a slider value of 0.05 the desired output would be
tally, 0, 1, 2, 3, 4, 5
3, 0.01, 0.02, 0.11, 0.00, 0.1
In UI.r I've tried (excluding non-relevant code)
sidebarPanel(
        sliderInput("p-value", "P-Value Adjustment:",
                    min = 0.01, max = 0.1, value = 0.05, step = 0.01),
        ),
mainPanel(
        #excluding two other panels that work correctly 
        tabsetPanel(
            tabPanel("Interactive-Data",
                     dataTableOutput("interactive.table"))
          )
     )
and then in Server.r
shinyServer(function(input, output) {
   value.frame <- read.csv("path/to/file")
   sliderValues <- reactive({
    input.frame <- data.frame(
        Name = c("p-value"),
        Value = c(input$p-value))
    data.frame(cbind(input.frame, value.frame, stringsAsFactor=FALSE))
    })
#I'm lost here
output$interactive.table = renderDataTable({
    data.frame$tally <- rowSums(data.frame < p-value)
    data.frame
    })
I'm getting lost with how to use the input from the sliderInput to dynamically recalculate the value of the interactive.table$tally column. Is renderDataTable appropriate or is there another way to go about this? 
output$interactive.tableI would think that just havingvalue.frame$tally <- rowSums(value.frame < input$p-valuewould be sufficient. Why the extrareactivefunction? - harkmug