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

View source: R/psplinelayer.R

handle_gam_termR Documentation

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)

Arguments

object

character defining the model term

data

data.frame or list

controls

controls for penalization

Value

constructed smooth term


deepregression documentation built on Jan. 18, 2023, 1:11 a.m.