Learn R Programming

popEpi (version 0.4.12)

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(...)

Value

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

Arguments

...

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

Examples

Run this code

y ~ x + adjust(z)

Run the code above in your browser using DataLab