TysonStanley / furniture

The furniture R package contains table1 for publication-ready simple and stratified descriptive statistics, tableC for publication-ready correlation matrixes, and other tables #rstats
49 stars 7 forks source link

`%on%` operator needs to handle `&` #3

Closed TysonStanley closed 8 years ago

TysonStanley commented 8 years ago

Right now, it is considering "or". For example, var %on% c(">=12", "<=19") returns all possible values instead of only 12:19.

Possible solutions could be to treat all quoted conditions as & conditions and all numeric as or.