Learn R Programming

popEpi (version 0.3.1)

adjust: Adjust Estimates by Categorical Variables

Description

This function is only intended to be used within a formula when supplied to e.g. survtab_ag and should not be used elsewhere.

Usage

adjust(...)

Arguments

...
variables to adjust by, e.g. adjust(factor(v1), v2, v3)

Value

Returns a list of promises of the variables supplied which can be evaluated.

Examples

Run this code

y ~ x + adjust(z)

Run the code above in your browser using DataLab