Quick question re: data in reactive function in shiny

I'm not sure if I understand your question correctly, but I think this shiny debugging guide could help you.