write_kindata: Write 'KinPairData' or 'KinPairSimulation' object in...

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. 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.

Usage

1

Arguments

x

Object of class KinPairData or KinPairSimulation

file

The file path to write to. If is doesn't end it '.kindata', this will be added.

Value

Invisibly returns the initial object

See Also

Other export_functions: kinpair_to_csv(), kinpair_to_tibble(), kinpair_to_tsv()


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