Learn R Programming

Zelig (version 4.2-1)

table.levels: Create a table, but ensure that the correct columns exist. In particular, this allows for entires with zero as a value, which is not the default for standard tables

Description

Create a table, but ensure that the correct columns exist. In particular, this allows for entires with zero as a value, which is not the default for standard tables

Usage

table.levels(x, levels, ...)

Arguments

x
a vector
levels
a vector of levels
...
parameters for table

Value

  • a table