tab: Table function which lists NA entries by default This is a...

Description Usage Arguments Value See Also

View source: R/Rfunctions.R

Description

Table function which lists NA entries by default This is a simple wrapper to change defaults from the base R table()

Usage

1
2
  tab(..., exclude = NULL,
    useNA = c("no", "ifany", "always"), deparse.level = 1)

Arguments

...

one or more objects which can be interpreted as factors (including character strings), or a list (or data frame) whose components can be so interpreted. (For as.table and as.data.frame, arguments passed to specific methods.)

exclude

levels to remove for all factors in .... If set to NULL, it implies useNA = "always". See 'Details' for its interpretation for non-factor arguments.

useNA

whether to include NA values in the table. See 'Details'.

deparse.level

controls how the default dnn is constructed. See 'Details'.

Value

tab() returns a contingency table, an object of class "table", an array of integer values

See Also

table


taRifx documentation built on April 14, 2020, 6:27 p.m.

Related to tab in taRifx...