Description Usage Arguments Value
Define the costs that go into breeding Default for some costs is zero because they probably belong to fixed costs
1 2 3 | defineCosts(sEnv = NULL, phenoCost = NULL, genoCost = 0.25,
crossCost = 1, selfCost = 1, doubHapCost = 5, predCost = 0,
selectCost = 0, locCost = 0, yearCost = 0)
|
sEnv |
the environment that BSL functions operate in. Default is "simEnv" so use that to avoid specifying when calling functions |
phenoCost |
named vector: names are the plot types and contents are the cost for one plot of that type (default: Standard=1; if plotTypes have been defined in defineVariances and phenoCost is not specified, all plotTypes are given a cost of 1) |
genoCost |
scalar: cost to genotype one individual default (0.25) |
crossCost |
scalar: cost of creating a new individual from a cross (1) |
selfCost |
scalar: the cost of creating a selfed seed (1) |
doubHapCost |
scalar: the cost of creating a doubled haploid seed (5) |
predCost |
scalar: the cost of running the analysis to make predictions (0) |
selectCost |
scalar: the cost of running the analysis to do selection (0) |
locCost |
scalar: the cost of maintaining a location for a year (0) |
yearCost |
scalar: the cost of program upkeep for a year (0) |
modifies the list sims in environment sEnv by adding cost parameters allowing the total cost of the simulated scheme to be calculated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.