Learn R Programming

deepregression (version 2.2.0)

handle_gam_term: Function to define smoothness and call mgcv's smooth constructor

Description

Function to define smoothness and call mgcv's smooth constructor

Usage

handle_gam_term(object, data, controls)

Value

constructed smooth term

Arguments

object

character defining the model term

data

data.frame or list

controls

controls for penalization