get_resampled_df {catalytic}R Documentation

Resampling Methods for Data Processing

Description

This function includes various resampling methods applied to input data for each column to prepare it for analysis. These methods help to transform the data distribution and improve model fitting.

Usage

get_resampled_df(
  data,
  resample_size,
  data_degree = NULL,
  resample_only = FALSE
)

Arguments

data

A data frame to be resampled.

resample_size

An integer specifying the size of the resample.

data_degree

A numeric vector indicating the degree of each column in the data (optional).

resample_only

A logical value indicating whether to return only the resampled data (default is FALSE).

Details

Value

A list containing:

resampled_df

A data frame of resampled data.

resampled_df_log

A data frame recording the resampling process for each column.


[Package catalytic version 0.1.0 Index]