- the indexing: R supports both (by index and name), but does not automatically know what the back-end supports in this function
- Thanks Peter for the quick response. I have also looked into it and the operators
==
,|
and&
should work for chaining and logical operators. However, not with the current release on CRAN. I had to make some fixes. So, now you can find updates in thedevelop
branch on Github.
This would be the filterSCL
can look more elegantly like this:
filterSCL = function(data, context) {
scl = data[5]
res = scl == 3 | scl == 8 | scl == 9
return(res)
}