Description Usage Arguments Details Value Examples
This function will create a new directory by the name of sub_dir
within the directory specified by path
. The address to the new
sub-directory is returned.
1 2 3 4 5 | gadget_sub_dir(sub_dir, path = NULL)
get_gadget_sub_dir(obj)
is_gadget_sub_dir(obj)
|
sub_dir |
Character. Path to the sub-directory you wish to create |
path |
Optional. Character string of the path of the Gadget model you are working in |
gadget_sub_dir
is essentially just an easy way to create a
sub-directory of the chosen Gadget model for writing model files to.
It could be used for writing replicant models files.
A character string of the path to the sub-directory specified in
sub_dir
1 2 3 4 5 6 | ## Not run:
path <- system.file(gad_mod_dir, package = "gadgetSim")
gadget_sub_dir("test_model", path = path)
## End(Not run)
gadget_sub_dir()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.