Construct a data-only gadget file

gadgetdata(file_name, data)

Arguments

file_name

Filename the output should be written to / read from

data

A data.frame that the file should contain

Value

A gadgetfile S3 class, use write.gadget.file to write it to disk