create.table {mimR}R Documentation

Create dataframe for a contingency table

Description

Creates a dataframe with 6 rows for a 2x3 table.

Usage

create.table(levels, names = NULL)

Arguments

levels A vector of levels
names A vector with names

Value

A dataframe

Note

Before using mimR, make sure that the MIM program is runnning.

Author(s)

Søren Højsgaard, sorenh@agrsci.dk

References

David Edwards, An Introduction to Graphical Modelling, Springer Verlag, 2002

Examples

create.table(c(2,3,2),c("a","b","c"))

[Package mimR version 1.2.4 Index]