default table is easier to read than count

table(.data, var, useNA = "a", ...)

Arguments

.data

data containing the variable to tabulate

var

the variable to tabulate

...

Arguments passed on to base::table

exclude

levels to remove for all factors in .... If it does not contain NA and useNA is not specified, it implies useNA = "ifany". See ‘Details’ for its interpretation for non-factor arguments.

useNA

whether to include NA values in the table. See ‘Details’. Can be abbreviated.

dnn

the names to be given to the dimensions in the result (the dimnames names).

deparse.level

controls how the default dnn is constructed. See ‘Details’.