write_gadget_model: Write an object of class 'gadget_model' to the respective...

Description Usage Arguments Value Examples

Description

write_gadget_model takes an object of class "gadget_model" as returned by read_gadget_model

Usage

1
write_gadget_model(mod_obj, path = NULL)

Arguments

mod_obj

A list of class gadget_model

path

Optional. Character of the path of the directory to write files to

Value

Nothing. Writes the respective Gadget filetype to a text file

Examples

1
2
3
4
5
6
## Not run: 
path <- system.file(gad_mod_dir, package = "gadgetSim")
gad_mod <- read_gadget_model(path = path)
write_gadget_model(gad_mod, path = "different_model")

## End(Not run)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.