Description Usage Arguments Value Examples
This function reads in a Gadget timefile using either the specified timefile name or from the main file
1 2 3 | read_gadget_timefile(timefile, main = NULL, path = NULL)
read_gadget_areafile(areafile, main = NULL, path = NULL)
|
timefile |
Character. The name of the file to read in |
main |
Optional. A list of class |
path |
Optional. Character vector of path to the directory where Gadget files are located |
A list of class gadget_time
1 2 3 4 | path <- system.file(gad_mod_dir, package = "gadgetSim")
main <- read_gadget_main(path = path)
timefile <- read_gadget_timefile(main = main, path = path)
area <- read_gadget_areafile(main = main, path = path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.