Skip to content

Instantly share code, notes, and snippets.

View krishnaiitd's full-sized avatar

Krishna Prasad krishnaiitd

  • Info Edge (India) Limited
  • Delhi
View GitHub Profile
diabetesRisk <- function(glucose) glucose / 200
shinyServer(
function(input, output) {
output$inputValue <- renderPrint({input$glucose})
output$prediction <- renderPrint({diabetesRisk(input$glucose)})
}
)
@krishnaiitd
krishnaiitd / testuserTable.sql
Last active April 28, 2016 23:59
Test user table values
mysql> select * from testuser;
+------+--------------+
| id | code |
+------+--------------+
| 1 | 232 |
| 2 | adfksa121dfk |
| 3 | 12sdf |
| 4 | dasd231 |
| 5 | 897 |
+------+--------------+