simgraph_data: Simple kin dispersal simulation for graphical display....

Description Usage Arguments Value See Also Examples

View source: R/simgraph_data.R

Description

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

Usage

1
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

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

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