numeric-input

Insert a numeric input for each row - R Shiny

余生颓废 提交于 2019-12-20 03:14:49
问题 I have a complex code that generates a big matrix, but here I attach a simple, reproducible example in order to explain clearly what I want: Here's the code: # ui.R library(shiny) shinyUI( mainPanel("Table Output", (tableOutput("My_table"))) ) # server.R library(shiny) shinyServer(function(input, output, session) { My_table = matrix( c(1:100), nrow=20, ncol=5) output$My_table <- renderTable(My_table) }) My goal is to put on the left and right sides of the table a small textbox, one for each

Insert a numeric input for each row - R Shiny

江枫思渺然 提交于 2019-12-02 00:26:22
I have a complex code that generates a big matrix, but here I attach a simple, reproducible example in order to explain clearly what I want: Here's the code: # ui.R library(shiny) shinyUI( mainPanel("Table Output", (tableOutput("My_table"))) ) # server.R library(shiny) shinyServer(function(input, output, session) { My_table = matrix( c(1:100), nrow=20, ncol=5) output$My_table <- renderTable(My_table) }) My goal is to put on the left and right sides of the table a small textbox, one for each row of the table. In my idea I need to be able to write a number inside the left textbox, eventually