Learn R Programming

gratia (version 0.11.1)

is_mgcv_family: Is an object one of mgcv's family objects?

Description

Checks to determine if object is a family object of one of the three or so types that mgcv produces.

Usage

is_mgcv_family(object)

Value

A logical vector of length 1, indicating if object is one of mgcv's (TRUE), or otherwise (FALSE).

Arguments

object

the object to test.