table2: Table

Description Usage Arguments Value Examples

Description

build a contingency table of the counts at each combination of factor levels with two objects

Usage

1
table2(x, y)

Arguments

x

one object

y

one object

Value

a table n

Examples

1
2
3
4
5
6
## Not run: 
x<-c(1,2,2,3,4)
y<-c(1,2,3,3,4)
table2(x,y)

## End(Not run)

QinYuWu/StatComp18036 documentation built on May 12, 2019, 5:15 p.m.