as.TRUEorFALSE: Resolve 'anything' to a logical value

Usage Arguments Details Value Examples

Usage

1

Arguments

str

almost any value, but typically a character string of length 1

Details

Resolve the given value to a logical, using common ideas of T/F, Y/N, 0/1, etc. Allows automatic environment variable substituion, via env.sub

Value

logical value of length 1

Examples

1
2

robertdouglasmorrison/DuffyTools documentation built on Dec. 7, 2018, 8:02 a.m.