Missing data

38 views
Skip to first unread message

silver...@gmail.com

unread,
May 31, 2017, 1:46:26 PM5/31/17
to compareGroups Forum
Hello,

I would like to know if it's possible to show missing data (like with include.miss = TRUE) but without a percentage for them, only the number of missing data.

Thank you !

Isaac Subirana

unread,
Jun 4, 2017, 8:19:49 AM6/4/17
to compareGroups Forum
The "include.miss" argument treat non available values (NA) as a new category. This only applies to categorical variables.
To show only the absolute frequencies but not percentages, use "type=3" in "createTable" function. With this, all categorical variables are shown as absolute frequencies only, and also the NA category.

I hope this solves your problem.

Isaac.

silver...@gmail.com

unread,
Jun 5, 2017, 5:08:59 AM6/5/17
to compareGroups Forum
Thanks for your answer, but actually I want to show the percentage for all categorical variables and only the absolute frequencies for the NA category.

Rodolphe

compareGroups

unread,
Jun 6, 2017, 4:11:31 AM6/6/17
to compareGroups Forum
By now, it is not possible to display absolute frequencies for "NA" category while showing percentages for the rest of categories. We will consider to implement this option in future versions.

Isaac.

silver...@gmail.com

unread,
Jun 6, 2017, 1:58:31 PM6/6/17
to compareGroups Forum
Thanks a lot. I think it's a great package and just need some improvement.

Rodolphe

Reply all
Reply to author
Forward
0 new messages