[datatable-help] Idiomatic way of using expression in i
statquant3
statquant at outlook.com
Tue Aug 18 14:54:12 CEST 2015
Say I have a data.table like:
dt <- data.table(x=rnorn(1000),y=rnorm(1000))
I have to construct a i statement dynamically, for example the result could
be
iExpr <- 'x>1 & y<.045'
How can I evaluate dt[x>1 & y<.045] using iExpr ?
--
View this message in context: http://r.789695.n4.nabble.com/Idiomatic-way-of-using-expression-in-i-tp4711229.html
Sent from the datatable-help mailing list archive at Nabble.com.
More information about the datatable-help
mailing list