kinpair_to_csv: Write 'KinPairData' object to '.csv' format

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

1

Arguments

x

Object of class KinPairData or KinPairSimulation

file

The file path to write to

...

Additional arguments to pass to write_csv

Value

Invisibly returns the initial object

See Also

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


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