View source: R/incomplete_table.R
incomplete_table | R Documentation |
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.
incomplete_table(tab, n, maxit = 1000)
cont_table_fill(tab, n, maxit = 1000)
tab |
table: a contingency table |
n |
integer: number of missing values |
maxit |
integer: number of maximal iterations (default: |
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.
tab <- rbind(c(0.02, 0.04, 0.34), c(0.02, 0.28, 0.3))
incomplete_table(tab, 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.