gadget_areafile: Gadget area files

Description Usage Arguments Details Examples

Description

Structures representing a GADGET area file

Usage

1
gadget_areafile(size, temperature, area = attr(size, 'area'))

Arguments

size

data.frame as produced by mfdb_area_size

temperature

data.frame as produced by mfdb_area_temperature

area

Optional. mfdb_group that you used to specify area. By default pulls it from annotations on the size object.

Details

Once formed, you can then use gadget_dir_write to write this out to a GADGET areafile.

Examples

1
2
3
4
5
6
7
8
9
# Any example could be added to a file with the following:-
## Not run: 
gd <- gadget_directory('./out')
agg_data <- gadget_areafile(
    mfdb_area_size(...),
    mfdb_area_temperature(...))
gadget_dir_write(gd, agg_data[[1]])

## End(Not run)

sCervino/mfdb documentation built on May 18, 2019, 1:31 p.m.