Is it possible to do interactive and graphical user data input with R?`
I have a time vector t<-1:100 and I would like the user to supply graphically values of y.
Ideally I would like the interface to start with y<-rep(0, length(t)) have a do a plot(t,y, ylim=c(0,50), type="h") and I would like the user to draw at each t the height of y.
then use the graphically user supplied y vector to do some calculations.
Is this possible with R or should I turn to javascript? Can Shiny do this?