Learn R Programming

popEpi (version 0.4.3)

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
# NOT RUN {
y ~ x + adjust(z)
# }

Run the code above in your browser using DataLab