code
code copied to clipboard
Update app.R
Modified the server code to create datasetInput using eventReactive() function that creates a data frame for predictor variables to be updated in the event of hitting the submit button; as such, there is no need to create a csv file for test dataset. The reactive code in both, the text box and table, also get triggered upon event.
Hi Chanin! I'm new to Shiny and find your videos very useful. I've used eventReactive function in server code to create a data frame for test dataset that gets updated with UI input values upon the event of hitting the submit button; hence there is no need to create csv file for the input values.