Description Usage Arguments Value Author(s) Examples
Function to create a single input file from a set of parameters in the form of a one row dataframe, where columns are named.
1 2 3 | write_vp_input(params, in_path = system.file("varroapop_files", "input",
package = "VarroaPopWrapper"), in_filename = "vp_input.txt",
weather_file = "Columbus", verbose = F)
|
params |
Named vector of VarroaPop inputs to be written to .txt file. |
in_path |
Directory to write vp_input.txt file to (optional). |
in_filename |
Filename of the written input file. Defaults to 'vp_input.txt'. |
weather_file |
Full path to the weather file e.g. C:/VarroaPop/weather.wea (must be .wea/.dvf/.wth) OR one of either 'Columbus' (default), 'Sacramento', 'Phoenix', 'Yakima', 'Eau Claire', 'Jackson', or 'Durham' |
verbose |
T/F print extra details? |
None... writes inputs to a .txt file in in_path for VarroaPop
Jeffrey M Minucci, jminucci2@gmail.com
1 2 | parameters <- c("foo"=15,"bar"=4)
write_vp_input(parameters, in_path = "d:/path/to/inputdir")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.