Hi Friends
when I pass variable through shinyinput to the regression, the output does not display the column name.
appearing as
factor(m1dat12[, input$mModeratorVar])random
factor(m1dat12[, input$mModeratorVar])systematic
would like to see in this format (group_name is the column name selected)
factor(group_name)random
factor(group_name)systematic
reference: Meta-Regression Models With or Without an Intercept [The metafor Package]
In this blog, moderator variable is hardcoded as given below
res <-(yi, vi, mods = ~ ablat, data=dat)
here ablat is appearing in the output. but when I pass shinyinput the name is not appearing in the output. this is where, I am trying to sort help from the community.
could someone help me out
thanks