table.levels: Create a table, but ensure that the correct columns exist. In...

table.levelsR Documentation

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

Author(s)

Matt Owen


IQSS/Zelig documentation built on Dec. 11, 2023, 1:51 a.m.