Multiple linear Regression - dynamic input parameter selection

Hi,

I am trying to run multiple regression model using R data function. I am facing challenge in passing input parameter dynamically. The user should be able to select input parameter to be passed to model. 

If anyone has worked with similar situation, do let me know.

Thanks in advance.

Login