is_dot_predictor_formula: Checks whether the predictor side of a formula is a dot

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Checks whether the predictor side of a formula is a dot

Usage

1

Arguments

form

A formula

Value

TRUE if predictor side is a dot. FALSE otherwise.

Examples

1
2
3
4
5
## Not run: 
is_dot_predictor_formula(Y ~ .) # returns: TRUE
is_dot_predictor_formula(Y ~ X + Z) # returns: FALSE

## End(Not run)

gwb/RGOB documentation built on May 14, 2021, 7:39 a.m.