kinpair_to_tsv {kindisperse}R Documentation

Write KinPairData object to .tsv format

Description

This function is part of suite of functions handling file import/export for kinship dispersal objects. Writing to .csv or .tsv formats strips most KinPairData & KinPairSimulation class metadata and leaves a delimited file containing ids, kinship category, geographical distance, & x & y coordinates for each simulated pair. (removes class attributes)

Usage

kinpair_to_tsv(x, file, ...)

Arguments

x

Object of class KinPairData or KinPairSimulation

file

The file path to write to

...

Additional arguments to pass to write_tsv

Value

Invisibly returns the initial object

See Also

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


[Package kindisperse version 0.10.2 Index]