Learn R Programming

vip (version 0.3.2)

get_formula: Extract model formula

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

get_formula(object)

Value

Either a formula object or NULL.

Arguments

object

An appropriate fitted model object.