m-clark / lazerhawk

An R package of miscellaneous functions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

factor levels

m-clark opened this issue · comments

describeAll will err when dealing with factors with missing levels.

Options: drop levels (with warning?), count rows of current data list, something else?

describeAll fixed, but cat_by ignores missing levels. Probably should just allow user to droplevels if desired, and not assume it.

This will currently break with NA on strings too.

think we're in an okay spot now.