Sayak
Sayak

Reputation: 193

Input numeric values in Equation Shiny UI

I have a linear equation: x = a*21 + b*13 + c*5.
I need the users to put the values of a , b , c in the Shiny UI and then the server code will return 1/(1 -x). I have got some idea about text inputs from here https://shiny.rstudio.com/reference/shiny/latest/textInput.html , but I am not getting any references for my problem really.

Can anyone please help me on this? Thanks in advance.

Upvotes: 0

Views: 211

Answers (1)

Alex P
Alex P

Reputation: 1494

shiny::numericInput() returns a single number input value, not a range.

Upvotes: 1

Related Questions