freqTab {CMO}R Documentation

Calculate a frequency table

Description

Calculate a frequency table given a matrix and a vector

Usage

freqTab(faktor)

Arguments

faktor cathegorical determining the groups with which the frequency is to be calculated

Value

A frequency matrix. First column depicts the different groups plus no group and total. Second column shows the counts foreach label in the first column. Third column depicts percentiles of each group in the first column.

Author(s)

Christian Montel

See Also

table

Examples

#mimik some factor
fac <- factor(c(1,1,2,2,1,2,1,2,2,1,1,1,1))
freqTab(fac)

[Package CMO version 1.02 Index]