co_table(x, margin, collapse = ".")
margin
is specified).[
which is more convenient for arrays of arbitrary dimension.
data("HairEyeColor")
co_table(HairEyeColor, 1)
co_table(HairEyeColor, c("Hair", "Eye"))
co_table(HairEyeColor, 1:2, collapse = "")
Run the code above in your browser using DataLab