View source: R/atlantis_diet.R
| atlantis_dietextract | R Documentation |
Extract diet from Biological parameters file and save it if wanted into a readable csv file.
atlantis_dietextract(path, exe_name, save.out = F, output_path = NULL)
path |
The directory of the batch or shell file. |
exe_name |
The name of the atlantis executable you used (ex: atlantismain, atlantisNew). |
save.out |
Flag that indicate if you want to save the output or not.
If |
output_path |
The directory were you want to save the csv file
(Default value is |
availability Dataframe containing input availability matrix
from the biological parameters file.
atlantis_paraselect for parameters file selection,
atlantis_openfile to open a parameters file and select a parameter,
str_split_fixed to split a chain of characters,
read.table to open table stored in text files (.txt, .csv ...).
atlantis_dietextract("C:/Atlantis/AtlantisEEC/AtlantisMSY/COD",
"atlantismain")
atlantis_dietextract("/home/Atlantis/AtlantisEEC/AtlantisMSY/COD",
"atlantisNew")
atlantis_dietextract("C:/Atlantis/AtlantisEEC/AtlantisMSY/COD",
"atlantismain", save.out = T, output_path =
"C:/Atlantis/AtlantisEEC/AtlantisMSY/COD/output")
atlantis_dietextract("/home/Atlantis/AtlantisEEC/AtlantisMSY/COD",
"atlantisNew", save.out = T, output_path =
"/home/Atlantis/AtlantisEEC/AtlantisMSY/COD/output")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.