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

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.