updateMatrixInput | R Documentation |
This function updates the matrix input from R created with 'matrixInput'. It works like the other updateXXXInput functions in shiny.
updateMatrixInput(session, inputId, value)
session |
shiny session |
inputId |
id of matrix input |
value |
new value for matrix |
## Not run:
updateMatrixInput(session, "myMatrix", diag(4))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.