I'm trying to write an app where one can throw a coin several times, so every time the ActionButton is pressed a new element is added to a vector. This vector then I would like to use to display the results in a plot.
My problem is that vector. I don't yet have lots of experience with Shiny, so I don't know if there's a specific function for that as I didn't find anything since now.
Can someone give me a hint of how that would be possible?
Thanks in advance!