Skip to contents

Removes terms such as strata() or cluster() from a formula/terms object.

Usage

drop.specials(x, components, ...)

Arguments

x

a formula object.

components

character vector of special term names to remove.

...

additional arguments passed to lava::Specials.

Value

The updated formula with an attribute "variables" containing the extracted variable names from removed specials.