incomplete_table {exams.forge} | R Documentation |
Relative Contingency Table Fill
Description
Fills a relative contingency table with n
missing values, such that the table entries can be
recomputed. In case that no solution can be found, an error is generated.
Usage
incomplete_table(tab, n, maxit = 1000)
cont_table_fill(tab, n, maxit = 1000)
Arguments
tab |
table: a contingency table |
n |
integer: number of missing values |
maxit |
integer: number of maximal iterations (default: |
Value
A contingency table including marginal values and total sum with missing values.
The attribute fillin
gives the necessary information about the order in which the entries can be calculated,
while the attribute full
presents the contingency table, including marginal values and total sum.
Examples
tab <- rbind(c(0.02, 0.04, 0.34), c(0.02, 0.28, 0.3))
incomplete_table(tab, 7)
[Package exams.forge version 1.0.10 Index]