powered by
Change the dimensions of a KinPairSimulation Object and shift kinpairs so at least one individual is within the area
rebase_dims(kindist, dims)
KinPairSimulation - KinPairSimulation Class Object
KinPairSimulation
New site dimensions - either single number (length of side of square) or length 2 vector (lengths of sides x and y of rectangle)
returns a rebased object of class KinPairSimulation with adjusted simulation dimensions
# NOT RUN { simobject <- simulate_kindist_simple() rebase_dims(simobject, c(1, 100)) rebase_dims(simobject, 15) # }
Run the code above in your browser using DataLab