A Network class object stores all the information for a simulation on
a defined landscape.
Format
An R6Class generator object
Constructor
params: see
parameterizeMGDrivEdriveCube: an inheritance cube
patchReleases: see
basicRepeatedReleasesfor examples on how to set up release schedulesmigrationMale: a stochastic matrix whose dimensions conform to the number of patches
migrationFemale: a stochastic matrix whose dimensions conform to the number of patches
migrationBatch: a list of batch migration parameters. See
basicBatchMigrationdirectory: character string of output directory
verbose: Chatty? Default is TRUE
Methods
get_timeAq: see
get_timeAq_Networkget_beta: see
get_beta_Networkget_muAd: see
get_muAd_Networkget_muAq: see
get_muAq_Networkget_alpha: see
get_alpha_Networkget_drivecubeindex: see
get_drivecubeindex_Networkget_tau: see
get_tau_Networkget_genotypesID: see
get_genotypesID_Networkget_genotypesN: see
get_genotypesN_Networkget_eta: see
get_eta_Networkget_phi: see
get_phi_Networkget_omega: see
get_omega_Networkget_xiF: see
get_xiF_Networkget_xiM: see
get_xiM_Networkget_s: see
get_s_Networkget_nPatch: see
get_nPatch_Networkget_conADM: see
get_conM_Networkget_conADF: see
get_conF_Networkget_tNow: see
get_tNow_Networkget_patchReleases: see
get_patchReleases_NetworkoneDay_Migration: see
oneDay_Migration_Deterministic_Networkor seeoneDay_Migration_Stochastic_Networkreset: see
reset_NetworkoneDay: see
oneDay_NetworkoneRun: see
oneRun_NetworkmultRun: see
multRun_Network
Fields
parameters: see
parameterizeMGDrivEpatches: a list of
PatchobjectsnPatch: number of patches
simTime: maximum time of simulation
sampTime: how often to write output, tNow %% sampTime
driveCube: an inheritance cube
tNow: current time of simulation (time starts at 2 because time 1 is the initial equilibrium state)
runID: an identifier for the current simulation run, useful for Monte Carlo simulation
directory: a character string of where to store output
conADM: a
connectionto write male population dynamics out toconADF: a
connectionto write female population dynamics out tomigrationMale: a stochastic matrix whose dimensions conform to the number of patches
migrationFemale: a stochastic matrix whose dimensions conform to the number of patches
migrationBatch: list of items for batch migration in stochastic sim.
mMoveMat: holder object for male migration
fMoveArray: holder object for female migration
patchReleases: a list of release schedules for each patch
Examples
if (FALSE) { # \dontrun{
# There are no simple examples for this, so looking at the vignettes would be
# most useful.
# Complete manual with examples, but none explored in depth.
vignette("MGDrivE-Examples", package = "MGDrivE")
# One example, explored in great detail. This is probably more helpful.
vignette("MGDrivE-Run", package = "MGDrivE")
} # }