Computes the independence table for a data table with non-negative entries. The entries of the independence table are defined by the multiplication of all corresponding marginal relative frequencies.

itab(x)

Arguments

x

A data table of any dimension but with non-negative entries.

Value

A data table of the same dimension as the input table.

Examples

A <- optile(arsim(4000,c(13,17),4,0.1),iter=10) fluctile(A)
#> viewport[base]
fluctile(itab(A))
#> viewport[base]
D <- A-itab(A) G <- (D)^2/itab(A) fluctile(G, tile.col = c(2,4)[1+ (D>0)])
#> viewport[base]