tab-fill: Fill a table with a number

tab-fillR Documentation

Fill a table with a number

Description

Fill a table with a number

Usage

tab_fill(tab, fill = 1L)

tabFill(...)

Arguments

tab

a contingency table

fill

the number to fill the contingency table with

...

...

Value

a named numeric vector

Examples


Titanic
tab_fill(Titanic)
tab_fill(Titanic, 1L)
tab_fill(Titanic, 0L)

nCells <- prod(dim(Titanic))
tab_fill(Titanic, rpois(nCells, 5))


dkahle/algstat documentation built on May 23, 2023, 12:29 a.m.