% Generated by roxygen2: do not edit by hand % Please edit documentation in R/preproc.R \name{preproc} \alias{preproc} \title{Preprocess dfm data for use in modeling procedure} \usage{ preproc(dfm_train, dfm_test = NULL, params) } \arguments{ \item{dfm_train}{Training dfm} \item{dfm_test}{Testing dfm if applicable, otherwise NULL} \item{params}{Row from grid with parameter optimization} } \value{ List with dfm_train and dfm_test, processed according to parameters in params } \description{ Process dfm according to parameters provided in params } \examples{ preproc(dfm_train, dfm_test = NULL, params) }