write_eco | R Documentation |
Reads parameters from a single DSSAT ecotype parameter file (*.ECO)
write_eco(eco, file_name)
eco |
a DSSAT_tbl containing the contents of a DSSAT ecotype parameter file |
file_name |
a character vector of length one that contains the name of a single DSSAT output file |
a tibble containing the data from the raw DSSAT output
# Extract file path for sample ecotype file path
sample_eco_file <- system.file('extdata','SAMPLE.ECO',package='DSSAT')
# Read sample ecotype file
eco <- read_eco(sample_eco_file)
# Create example ecotype file path
sample_eco_file2 <- paste0(tempdir(),'/SAMPLE.ECO')
# Write out sample ecotype file
write_eco(eco,sample_eco_file2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.