Open ericpgreen opened 4 years ago
Yes, this is something I've been wanting to work on but haven't had the time yet. Your post will help push it toward the top of the priority list. For a short-term fix (bc it would be more straightforward with formatting), I was thinking of adding the missing for the continuous variables next to the name of the variable. Something like:
----------------------------------
Mean/SD
Var1 (missing = 34) 2.5 (3.2)
----------------------------------
What do you think?
Thanks! That seems reasonable to me. It would make for a really long label
if Var1
is long, but certainly good in the short term.
On Mon, Jan 6, 2020 at 1:31 PM Tyson Barrett notifications@github.com wrote:
Yes, this is something I've been wanting to work on but haven't had the time yet. Your post will help push it toward the top of the priority list. For a short-term fix (bc it would be more straightforward with formatting), I was thinking of adding the missing for the continuous variables next to the name of the variable. Something like:
Mean/SD
Var1 (missing = 34) 2.5 (3.2)
What do you think?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TysonStanley/furniture/issues/23?email_source=notifications&email_token=AAEFNAIX2R6ROK33TBSIRKDQ4N2G5A5CNFSM4KDGF6S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIGKOSY#issuecomment-571254603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFNAKNHFRQKO2UPDQVKZLQ4N2G5ANCNFSM4KDGF6SQ .
The
nhanes_2010
dataset has 1417 obs, but the summary table will indicate a total of 940 obs (complete cases) unless we specifyna.rm=FALSE
. The documentation says this about thena.rm
parameter:And that's what this does...
We see that 155 obs are missing on
gen_health
. But I'm wondering if there could be an option to also show missing for all variables. This table gives me the impression that we're only missing data for thegen_health
variable, but that's not the case.table(nhanes_2010$cancer, useNA = "always")
returns 344 missingtable(nhanes_2010$asthma, useNA = "always")
returns 2 missingThere are no missing on the numeric variable
age
, but that would be interesting to know too.