search for: do_something_to

Displaying 1 result from an estimated 1 matches for "do_something_to".

Did you mean: do_something_two
2016 Apr 15
0
a replace for subset
...mydata$OR),levels(mydata$PAT))) Then you can loop through this data frame creating a string that corresponds to your logical expression: for(subsetter in 1:dim(subcomb)[1]) { subexpr<-paste(names(mydata)[3:6],subcomb[subsetter,], sep="==",collapse="&") subset(mydata,do_something_to(subexpr),select=c("RE","LU")) } but I have not been able to work out how to transform the strings "subexpr" into logical expressions. I feel pretty sure that someone will show me up on this. Jim