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)
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 information in which order the entries can be calculated, and
full
gives 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.