"resample_data" processes the data based on predefined rules before being read by the C model, and saves the output in a specified directory.
resample_data(data2, dir1)A resampled version of "data2" named "_exp.txt" saved in the directory specified by "dir1."
Input data by ID. The input dataset to be resampled or transformed.
Temporal directory. Path to the folder where the resampled data will be saved.
This function takes two arguments: a dataset ("data2") and the temporal directory path ("dir1").