adjust: Adjust Estimates by Categorical Variables

View source: R/evaluation.R

adjustR Documentation

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


y ~ x + adjust(z)

popEpi documentation built on April 4, 2025, 2:51 a.m.