defineCosts: Define the costs that go into breeding Default for some costs...

Description Usage Arguments Value

View source: R/defineCosts.R

Description

Define the costs that go into breeding Default for some costs is zero because they probably belong to fixed costs

Usage

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)

Arguments

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)

Value

modifies the list sims in environment sEnv by adding cost parameters allowing the total cost of the simulated scheme to be calculated


BreedingSchemeLanguage documentation built on May 2, 2019, 10:17 a.m.