recode_ynp: recode Y/N/DNK where Y=0 to boolean (wow!) Used to recode...

View source: R/recode.r

recode_ynpR Documentation

recode Y/N/DNK where Y=0 to boolean (wow!) Used to recode some InfluenzaNet variables to more error-proof coding So TRUE is YES level, FALSE = NO level and NA missing value.

Description

recode Y/N/DNK where Y=0 to boolean (wow!) Used to recode some InfluenzaNet variables to more error-proof coding So TRUE is YES level, FALSE = NO level and NA missing value.

Usage

recode_ynp(x)

Arguments

x

value to recode


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.