Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write_kindata

Write KinPairData or KinPairSimulation object in .kindata format


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

write_kindata(x, file)

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

Simulate and Estimate Close-Kin Dispersal Kernels

v0.10.1
MIT + file LICENSE
Authors
Moshe-Elijah Jasper [aut, cre] (<https://orcid.org/0000-0003-4541-3223>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.