Displaying 1 result from an estimated 1 matches for "open_flg".
Did you mean:
open_flag
2011 Jul 13
2
Executing a function correctly
Hello All,
I've created a function as follows so as to use it in a loop.
freq<-function(i)
{
library(RODBC)
paste(i,"<-sqlQuery(conn,","'","select click_flg, open_flg,", i ," from
modeling_5')",sep="")
}
freq(i="AQI")
[1] "AQI<-sqlQuery(conn,'select click_flg, open_flg,AQI from modeling_5')"
What I was expecting was the result of the sql query "select click_flg,
open_flg,AQI from modeling_5&q...