Learn R Programming

shinyMatrix (version 0.8.0)

updateMatrixInput: Update matrix input

Description

This function updates the matrix input from R created with `matrixInput`. It works like the other updateXXXInput functions in shiny.

Usage

updateMatrixInput(session, inputId, value)

Arguments

session

shiny session

inputId

id of matrix input

value

new value for matrix

Examples

Run this code
if (FALSE) {
updateMatrixInput(session, "myMatrix", diag(4))
}

Run the code above in your browser using DataLab