Table of contents
Hide
“Inline” conditions
An inline condition is a condition that is not used through if
or a similar statement.
Check if a condition is true:
df$var[conditionToTest]
Check if a condition is false:
df$var[ ! conditionToTest]
conditionToTest
should be replaced by actual R code.