Description Usage Arguments Value See Also Examples
View source: R/simgraph_data.R
Simple kin dispersal simulation for graphical display. (returns the data side as a tibble).
1 | 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()
1 | simgraph_data(nsims = 100, dims = 1000, kinship = "GAV")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.