Displaying 1 result from an estimated 1 matches for "lkda".
Did you mean:
lda
2012 Mar 17
2
Coalesce function in BBmisc, emoa, and microbenchmark packages
...in the BBmisc, emoa, and microbenchmark packages.
Trouble is I can't seem to get it to work in any of these packages. Or perhaps I misunderstand what it's intended to do. The documentation is generally pretty scant.
Working with two columns: Date of Death (DOD) and Last Known Date Alive (LKDA). One or the other column is populated for each of the patients in my dataframe and the other column is blank.
When I run code like "with(Demographics, coalesce(DOD, LKDA))", the function generates a value whenever DOD is not missing and generates NA otherwise (even though the value for...