no_specials {reformulas}R Documentation

Drop 'specials' from a formula

Description

Drop 'specials' from a formula

Usage

no_specials(term, specials = c("|", "||", "s"))

Arguments

term

a term or formula or list thereof

specials

function types to drop

Value

a call or language object (or list) with specials removed

Examples

no_specials(findbars_x(~ 1 + s(x) + (f|g) + diag(x|y)))
no_specials(~us(f|g))

[Package reformulas version 0.3.0 Index]