KinPairData
object to .csv
formatThis 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)
kinpair_to_csv(x, file, ...)
Object of class KinPairData
or KinPairSimulation
The file path to write to
Additional arguments to pass to write_csv
Invisibly returns the initial object
Other export_functions:
kinpair_to_tibble()
,
kinpair_to_tsv()
,
write_kindata()