Write KinPairData or KinPairSimulation object in .kindata format
This function is part of suite of functions handling file import/export for kinship dispersal objects.
Writing to the custom .kindata format enables complete preservation of KinPairData & KinPairSimulation formats
without any loss of class attributes or metadata - ideal for saving simulation data that is intended for further in-package
processing with kindisperse.
write_kindata(x, file)
x |
Object of class |
file |
The file path to write to. If is doesn't end it ' |
Invisibly returns the initial object
Other export_functions:
kinpair_to_csv(),
kinpair_to_tibble(),
kinpair_to_tsv()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.