Description Usage Arguments Value
Export a cow_table or the list of parameters to a file.
1 2 3 4 5  | save_to_csv(cows, filename, i, subdir = ".")
save_param_txt(param, filename, i, subdir = ".")
construct_filepath(filename, i = NULL, subdir = ".", ext = ".csv")
 | 
cows | 
 See cow_table.  | 
filename | 
 The file name to an output file.  | 
i | 
 The number of months from the start of the simulation.  | 
subdir | 
 Specify the path to the directory from "output" folder if you want to output a file into a different directory.  | 
param | 
 The parameter list used in the simulation. For more detail, see   | 
ext | 
 The file extension of an output file.  | 
An output file at the specified location (save_to_csv() and save_param_txt()) or a character string indicates a file path (eg. "subdir/filename001.csv") (construct_filepath()).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.