s_cross_np: 2- or 3-way frequency tables

View source: R/s_cross_np.R

s_cross_npR Documentation

2- or 3-way frequency tables

Description

Cross-tabulate counts and percents of unique values, including missing-data, in 2 or 3 variables.

Usage

s_cross_np(x, ..., direction)

Arguments

x

A data-frame.

...

2 or 3 variables.

direction

Direction in which to calculate percents: "row", "col", or "all".

Value

A data-frame.

See Also

s_cross_n s_cross_p


zhaoy/zhaoy documentation built on Feb. 1, 2024, 7:50 p.m.