Closed insilentio closed 1 year ago
There are many mutate staments of the form factor(if_else(SexCd == 1, uni_s[1], uni_s[2]), uni_s)
factor(if_else(SexCd == 1, uni_s[1], uni_s[2]), uni_s)
They should be generalized via a function, something like fct_if(uni_s, 1,2)
fct_if(uni_s, 1,2)
moved to Gitlab
There are many mutate staments of the form
factor(if_else(SexCd == 1, uni_s[1], uni_s[2]), uni_s)
They should be generalized via a function, something like
fct_if(uni_s, 1,2)