simgraph_data {kindisperse}R Documentation

Simple kin dispersal simulation for graphical display. (returns the data side as a tibble).

Description

Simple kin dispersal simulation for graphical display. (returns the data side as a tibble).

Usage

simgraph_data(nsims = 1000, posigma = 50, dims = 250, kinship = "2C")

Arguments

nsims

Integer. The number of kin dispersal families to simulate.

posigma

Integer. The axial deviation of the (simple) parent-offspring dispersal kernel governing this simulation.

dims

Integer. Lays out the length of the sides of a square within which parent individuals are seeded.

kinship

Character. Lists the kin category the simulation is reconstructing. One of "PO", "FS", "HS", "AV", "GG", "HAV", "GGG", "1C", "1C1", "2C", "GAV" (no half-categories included)

Value

Returns a tibble containing the coordinates of the f0 to f2 generations, as well as coordinates and distances relative to the 'focus' kinship categories. (kindist, kinmid, k1 & k2)

See Also

Other simgraph: simgraph_graph()

Examples

simgraph_data(nsims = 100, dims = 1000, kinship = "GAV")

[Package kindisperse version 0.10.2 Index]