read_kindata: Reads '.kindata' filetype back to 'KinPairData' or...

Description Usage Arguments Value See Also

View source: R/export_functions.R

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

1

Arguments

file

Character giving path reference to file with extension .kinpair

Value

Returns either KinPairData or KinPairSimulation object.

See Also

Other import_functions: csv_to_kinpair(), df_to_kinpair(), tsv_to_kinpair(), vector_to_kinpair()


kindisperse documentation built on July 28, 2021, 5:09 p.m.