preProcessResample: Pre-process and Resample Dataset

View source: R/utils.R

preProcessResampleR Documentation

Pre-process and Resample Dataset

Description

This function applies pre-processing transformations to the dataset, then resamples it.

Usage

preProcessResample(
  datasetData,
  preProcess,
  selectedOutcomeColumns,
  outcome_and_classes,
  settings
)

Arguments

datasetData

Dataframe to be pre-processed

preProcess

Vector of pre-processing methods to apply

selectedOutcomeColumns

Character vector of outcome columns

outcome_and_classes

List of outcomes and their classes

settings

A named list containing settings for the analysis. If NULL, defaults will be used. The settings list may contain: - seed: An integer seed value for reproducibility.

Value

A list containing the pre-processing mapping and the processed dataset


immunaut documentation built on April 12, 2025, 1:22 a.m.