pt_ex_nums {ptable} | R Documentation |
Quick ptables for numeric variables
Description
pt_ex_nums()
returns a perturbation table objects from
create_num_ptable()
with some default parameters. This is useful
for quickly creating ptables to demonstrate usage in other tools.
Usage
pt_ex_nums(parity = TRUE, separation = FALSE)
Arguments
parity |
a scalar logical; if |
separation |
a scalar logical; if |
Value
Returns a ptable object if both parity
and separation
are FALSE
, else a named list.
Examples
# extra ptable for small cells
names(pt_ex_nums(parity = FALSE, separation = TRUE))
# different ptables for even/odd cells
names(pt_ex_nums(parity = TRUE, separation = TRUE))
[Package ptable version 1.0.0 Index]