shiny-matrix | Fixed matrix width Editable matrix content No column | Icon library
kandi X-RAY | shiny-matrix Summary
kandi X-RAY | shiny-matrix Summary
shiny-matrix
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sanitize data
- Parse scoped slot .
- triggered on a matrix
- Combine children to a single child .
- Hash a string .
- Set a vm instance on the vm instance .
- Creates a function that invokes the computed method .
- Proxy function for normalizing slots .
- Naive template sources
- pow function
shiny-matrix Key Features
shiny-matrix Examples and Code Snippets
Community Discussions
Trending Discussions on shiny-matrix
QUESTION
I´m trying to subset a user-generated input matrix in R´s shiny and shinyMatrix packages. I´d like to extract only the values of a selected matrix column (column 3 for example) in the 2nd output table ("table2") generated by this code. The first output table ("table1") simply mimics the user inputs which works fine. I´m trying to get the second output table to show only a selected column. This will show me how to subset input data, to implement an additional function waiting in the wings.
[Side note: when running this the user may add to matrix by clicking on the bottom row of the matrix - a very nice feature! If this input feature doesn´t work well for you, it doesn´t matter for purposes of addressing this question. If you´d like it to work perfectly, then download the latest version of shinyMatrix using devtools::install_github('INWTlab/shiny-matrix'); it won´t be available on CRAN for a while.]
...ANSWER
Answered 2021-May-24 at 02:52You can use input$matrix[, 3]
to show only the 3rd column in table2.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install shiny-matrix
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page