Learn R Programming

deepregression (version 2.2.0)

process_terms: Control function to define the processor for terms in the formula

Description

Control function to define the processor for terms in the formula

Usage

process_terms(
  form,
  data,
  controls,
  output_dim,
  param_nr,
  parsing_options,
  specials_to_oz = c(),
  automatic_oz_check = TRUE,
  identify_intercept = FALSE,
  engine = "tf",
  ...
)

Value

returns a processor function

Arguments

form

the formula to be processed

data

the data for the terms in the formula

controls

controls for gam terms

output_dim

the output dimension of the response

param_nr

integer; identifier for the distribution parameter

parsing_options

options

specials_to_oz

specials that should be automatically checked for

automatic_oz_check

logical; whether to automatically check for DNNs to be orthogonalized

identify_intercept

logical; whether to make the intercept automatically identifiable

engine

character; the engine which is used to setup the NN (tf or torch)

...

further processors