I'm trying to add a row that contains the sum of trees2 (nt) and the name "Total" in a existent summary table. Does anyone know how to do that? I really appreciate the help!
Here's my server.R
output$sumy <- renderTable({
input$action
if(is.null(input$action))
return(NULL)
else
Arvsumy <- isolate({
trees2 <- FindTreesCHM(fchm(), (as.numeric(input$fws)), (as.numeric(input$minht)))
h <- trees2["height"]
nt <- nrow(trees2)
cbind(summary(h))
})
})
Thanks a lot!