Learn R Programming

extracat (version 1.7-6)

itab: Independence Table

Description

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.

Usage

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

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

# }

Run the code above in your browser using DataLab