gforge / Gmisc

An R package for creating tables, some plots and other useful utilities too small to merit their own package
49 stars 14 forks source link

Fix issue #21: some but not all values missing in output row #22

Closed lemna closed 7 years ago

lemna commented 7 years ago

Hi Max,

this is an attempt to fix the easy case of issue #21. My code closely resembled yours, except that it attempts to assign the correct names and length to an empty cell. I added a silent argument used to fill missing cells, defaulting to "-", but I guess you could set it to NA (for me that would require an extra acronym in the table footer, as required by our style guidelines).

Thanks for considering this, Peter.