extractvar: Extract variable from term

View source: R/formula_helpers.R

extractvarR Documentation

Extract variable from term

Description

Extract variable from term

Usage

extractvar(term, allow_ia = FALSE)

Arguments

term

term specified in formula

allow_ia

logical; whether to allow interaction of terms using the : notation

Value

variable as string


deepregression documentation built on Jan. 18, 2023, 1:11 a.m.