prepare_newdata: Function to prepare new data based on parsed formulas

View source: R/data_handler.R

prepare_newdataR Documentation

Function to prepare new data based on parsed formulas

Description

Function to prepare new data based on parsed formulas

Usage

prepare_newdata(
  pfc,
  newdata,
  na_handler = na_omit_list,
  gamdata = NULL,
  engine = "tf"
)

Arguments

pfc

list of processor transformed formulas

newdata

list in the same format as the original data

na_handler

function to deal with NAs

gamdata

processor for gam part

engine

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

Value

list of matrices or arrays


deepregression documentation built on Sept. 9, 2025, 5:27 p.m.