A set of helper functions for tableby
.
is.tableby(x) is.summary.tableby(x) modpval.tableby(x, pdata, use.pname = FALSE) tests(x) # S3 method for tableby tests(x) na.tableby(lhs = TRUE) # S3 method for tableby xtfrm(x) # S3 method for tableby sort(x, ...) # S3 method for tableby Ops(e1, e2) # S3 method for tableby head(x, n = 6L, ...) # S3 method for tableby tail(x, n = 6L, ...)
x | A |
---|---|
pdata | A named data.frame where the first column is the by-variable names, the (optional) second is the strata value, the next is the x variable names, the next is p-values (or some test stat), and the (optional) next column is the method name. |
use.pname | Logical, denoting whether the column name in |
lhs | Logical, denoting whether to remove |
... | Other arguments. |
e1, e2 |
|
n |
na.tableby
returns a subsetted version of object
(with attributes). Ops.tableby
returns
a logical vector. xtfrm.tableby
returns the p-values (which are ordered by order
to sort
).
Logical comparisons are implemented for Ops.tableby
.