describe(letters[1:19])
outputs a table of frequencies but describe(letters[1:20])
does not. I tried setting listunique=10^7
and listnchar=0
but that didn't help.
How to force Hmisc::describe to display frequencies?
492 views Asked by kevinykuo At
1
I've wondered about that for years and never succeeded in getting Hmisc::describe to honor that parameter (despite using Hmisc extensively). Here's what I would do to get something similar:
You may want to format() the pct to round to a certain number (0 or 1) of decimal places.