Learn R Programming

ptable (version 1.0.0)

pt_check: Check the constraint of the ptable

Description

pt_check() checks the constraints of the ptable

Usage

pt_check(ptab)

Value

a data.table object

Arguments

ptab

a data.table or an an object of ptable generated with create_cnt_ptable().

Author

Tobias Enderle, tobias.enderle@destatis.de

Examples

Run this code
# create ptable 
ptab1 <- create_cnt_ptable(D = 5, V = 3, js = 2, label = "test2")

# check ptable
pt_check(ptab1)

Run the code above in your browser using DataLab