read_kindata {kindisperse} | R Documentation |
Reads .kindata
filetype back to KinPairData
or KinPairSimulation
object.
Description
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.
Usage
read_kindata(file)
Arguments
file |
Character giving path reference to file with extension |
Value
Returns either KinPairData
or KinPairSimulation
object.
See Also
Other import_functions:
csv_to_kinpair()
,
df_to_kinpair()
,
tsv_to_kinpair()
,
vector_to_kinpair()
[Package kindisperse version 0.10.2 Index]