Description Usage Arguments Examples
View source: R/MGDrivE-Releases.R
Sets up a release schedule for a single patch, returns a list to be used in
oneDay_releases_Patch
or oneDay_eggReleases_Patch
.
This function is no longer intended to be used alone, please use the standard
interface, generateReleaseVector
.
1 | basicRepeatedReleases(releaseStart, releaseEnd, releaseInterval, releaseMatrix)
|
releaseStart |
Day releases start |
releaseEnd |
Day releases end |
releaseInterval |
Interval between releases |
releaseMatrix |
Numeric matrix specifying the genotype and release amount |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
# Setup for 3 patches but only release in the first with a defined release
# schedule, for the cube cubeHomingDrive:
patchReleases = replicate(n = 3, expr = {
list(maleReleases = NULL, femaleReleases = NULL, eggReleases = NULL, matedFemaleReleases = NULL)
},simplify = FALSE)
patchReleases[[1]]$femaleReleases = MGDrivE::basicRepeatedReleases(releaseStart = 5,
releaseEnd = 30,
releaseInterval = 5,
releaseMatrix = matrix(c(5,100),1,2))
patchReleases[[1]]$maleReleases = MGDrivE::basicRepeatedReleases(releaseStart = 50,
releaseEnd = 60,
releaseInterval = 1,
releaseMatrix = matrix(c(5,100),1,2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.