Learn R Programming

hypergea (version 1.3.6)

getExpectedValues: Expected values of multidimensional contingency tables

Description

Calculates expected values of a multidimensional contingency table

Usage

getExpectedValues(x)

Arguments

x

table (matrix or array)

Value

an array containing the expected values

Examples

Run this code
# NOT RUN {
x <- array(c(1:8), dim=c(2,2,2))
getExpectedValues(x)
# }

Run the code above in your browser using DataLab