objectHasPlaceholder: Check if placeholder is present in object formula

View source: R/asserts.R

objectHasPlaceholderR Documentation

Check if placeholder is present in object formula

Description

isTRUEorFALSE check if object is a flag (a length one logical vector) except NA.

Usage

objectHasPlaceholder(object, placeholder)

Arguments

object

statistical model to test.

placeholder

string specifying name of placeholder.

Value

Logical indicating if placeholder is present in object formula.


Genentech/MiDAS documentation built on Feb. 5, 2024, 11:52 a.m.