resample_config: Resample Configuration Data

View source: R/resample_config.R

resample_configR Documentation

Resample Configuration Data

Description

"resample_config" adjusts and modifies a input configuration file based on the input data. The function resamples, filters and restructures data according to the parameters passed in the configuration file. It also interacts with a directory specified by the user for output.

Usage

resample_config(data2, config1, dir1)

Arguments

data2

Input data by ID. The input data to be resampled or transformed.

config1

Input configuration. Configuration details that dictate how the data should be processed, including resampling methods, filters, and other transformation rules.

dir1

Temporal directory. Path to the folder where output config file should be saved.

Details

This function takes three arguments: a dataset ("data2"), a configuration object ("config1"), and a directory path ("dir1"). The function applies resampling methods to the data as specified by "config1". The resampled data is typically saved to the provided directory.

Value

A modified version of "config1" named "_config.js" that will be read by the C model.


RadEro documentation built on April 12, 2025, 2:13 a.m.