RadEro_example {RadEro} | R Documentation |
This function copies example files (e.g., .js and .csv) from the "data" directory of the package to a specified working directory.
RadEro_example(target_dir = NULL, overwrite = TRUE)
target_dir |
The path to the directory where the files will be copied. |
overwrite |
Logical. Whether to overwrite the files if they already exist in the target directory (default is TRUE). |
The function uses "system.file()" to locate the example files within the package's "data" directory and copies them to a directory of your choice using "file.copy()".
This function generates two template files in the specified directory: one for data input and another for configuration input. These templates serve as examples, demonstrating how to construct and format the input files.