itab: Independence Table

Description Usage Arguments Value Author(s) Examples

View source: R/fastRcrit.R

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

1
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.

Author(s)

Alexander Pilhoefer

Examples

1
2
3
4
5
6
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)])

extracat documentation built on July 17, 2018, 5:05 p.m.

Related to itab in extracat...