jim
May 22, 2021
I knew that 0 becomes FALSE, when logical is required.
0
if(0) print("FALSE")
And I knew that 1 becomes TRUE
1
if(1) print("TRUE") ....-> [1] "TRUE"
But I did not know:
if(!0) print("TRUE") ....-> [1] "TRUE"