simgraph_data {kindisperse} | R Documentation |
Simple kin dispersal simulation for graphical display. (returns the data side as a tibble).
simgraph_data(nsims = 1000, posigma = 50, dims = 250, kinship = "2C")
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) |
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)
Other simgraph:
simgraph_graph()
simgraph_data(nsims = 100, dims = 1000, kinship = "GAV")