Learn R Programming

deepregression (version 2.2.0)

extract_pure_gam_part: Extract the smooth term from a deepregression term specification

Description

Extract the smooth term from a deepregression term specification

Usage

extract_pure_gam_part(term, remove_other_options = TRUE)

Value

pure gam part of term

Arguments

term

term specified in a formula

remove_other_options

logical; whether to remove other options withing the smooth term