get_formula: Extract model formula

Description Usage Arguments Value

View source: R/get_feature_names.R

Description

Calls formula to extract the formulae from various modeling objects, but returns NULL instead of an error for objects that do not contain a formula component.

Usage

1
get_formula(object)

Arguments

object

An appropriate fitted model object.

Value

Either a formula object or NULL.


vip documentation built on Dec. 17, 2020, 5:08 p.m.