Learn R Programming

arsenal (version 0.5.0)

tableby.internal: Helper functions for tableby

Description

A set of helper functions for tableby.

Usage

# S3 method for tableby
merge(x, y, ...)

modpval.tableby(x, pdata, use.pname = FALSE)

# S3 method for tableby labels(object, ...)

tests(x)

# S3 method for tableby tests(x)

# S3 method for tableby labels(x) <- value

# S3 method for tableby [(x, ...)

na.tableby(object, ...)

Arguments

x, y

A tableby object.

...

Other arguments, or a vector of indices for extracting.

pdata

A named data.frame where the first column is the x variable names matched by name, the second is the p-values (or some test stat), and the third column is the method name (optional)

use.pname

Logical, denoting whether the column name in pdata corresponding to the p-values should be used in the output of the object.

object

A data.frame resulting form evaluating modelsum formula.

value

A list of new labels.

Value

na.tableby returns a subsetted version of object (with attributes).