pt_check: Check the constraint of the ptable

View source: R/helpers.R

pt_checkR Documentation

Check the constraint of the ptable

Description

pt_check() checks the constraints of the ptable

Usage

pt_check(ptab)

Arguments

ptab

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

Value

a data.table object

Author(s)

Tobias Enderle, tobias.enderle@destatis.de

Examples

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

# check ptable
pt_check(ptab1)


ptable documentation built on March 7, 2023, 7:30 p.m.