kin_pair_data {kindisperse} | R Documentation |
Make new KinPairData object
Description
Make new KinPairData object
Usage
kin_pair_data(data = NULL, kinship = NULL, lifestage = NULL, cycle = NULL)
Arguments
data |
tlb_df. Tibble of kinpair distances |
kinship |
character. - one of PO, FS, HS, AV, HAV, GG, 1C, H1C, GAV, HGAV, 1C1, H1C1, GGG, 2C, H2C & UN. |
lifestage |
character. - one of 'unknown', 'immature' or 'ovipositional', or alternatively a custom
stage that corresponds to a dispersal stage contained in a |
cycle |
non-negative integer of length one or two (here, 1 is equivalent to c(1, 1)). Represents the number of complete breeding cycles each individual has undergone before the sampling point, where the time between birth and first reproduction is coded as '0', that between first and second reproduction '1', etc. (default 0). If the first individual was sampled as a juvenile & the second as an adult of equivalent stage, the vector c(0, 1) would be used. In most situations, the default will be appropriate |
Value
returns an object of class KinPairData
Examples
kin_pair_data()