write_filet {DSSAT} | R Documentation |
Writes data to a single DSSAT file T
Description
Writes data to a single DSSAT file T
Usage
write_filet(filet, file_name, drop_duplicate_rows = TRUE)
Arguments
filet |
a tibble containing the data to write to a DSSAT file T |
file_name |
a character vector of length one that contains the name of a single DSSAT file into which 'filet' will be written |
drop_duplicate_rows |
a logical value indicating whether duplicate rows should be dropped from tier_data |
Examples
# Extract FileT path for sample file
sample_filet <- system.file('extdata','SAMPLE.CRT',package='DSSAT')
filet <- read_filet(sample_filet)
# Create example FileT file path
sample_filet2 <- paste0(tempdir(),'/SAMPLE.CRT')
# Write out sample FileA
write_filet(filet,sample_filet2)
[Package DSSAT version 0.0.9 Index]