.kindata
filetype back to KinPairData
or KinPairSimulation
object.This function is part of suite of functions handling file import/export for kinship dispersal objects.
The custom .kindata
format enables complete preservation of KinPairData
& KinPairSimulation
formats
without any loss of class attributes or metadata - ideal for saving and retrieving simulation data that is intended for further in-package
processing with kindisperse. This function loads a previously stored object into its original class format.
read_kindata(file)
Character giving path reference to file with extension .kinpair
Returns either KinPairData
or KinPairSimulation
object.
Other import_functions:
csv_to_kinpair()
,
df_to_kinpair()
,
tsv_to_kinpair()
,
vector_to_kinpair()