output_all | R Documentation |
Processes all CSV files in the input directory and outputs the results to the output directory.
output_all(
si,
input_dir,
output_dir,
freq = c("monthly", "seasonal"),
base.range = c(1961, 1990),
time.span = c(1961, 2022)
)
si |
Data frame. Sea level input data. |
input_dir |
Character. Directory containing input CSV files. |
output_dir |
Character. Directory to save output files. |
freq |
Character. Frequency of calculation, either "monthly" or "seasonal". |
base.range |
Numeric vector. Base range years (default is c(1961, 1990)). |
time.span |
Numeric vector. Time span for output data (default is c(1961, 2022)). |
None. Results are saved to the output directory.
## Not run:
# Assume we have sea level data 'si' and input/output directories
input_dir <- "path/to/input/csv/files"
output_dir <- "path/to/save/output/files"
# Run the output_all function with monthly frequency
output_all(si, input_dir, output_dir, freq = "monthly")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.