get_formula_elements {neuralGAM}R Documentation

Extract formula elements

Description

This function separates the model terms of a given formula into response, all_terms, non-parametric terms and parametric terms.

Usage

get_formula_elements(formula)

Arguments

formula

A formula object

Value

A list with the following elements:


[Package neuralGAM version 1.1.1 Index]