Skip to contents

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)

Arguments

object

An appropriate fitted model object.

Value

Either a formula object or NULL.