calcBudget: calcBudget function

View source: R/CostOptimization.R

calcBudgetR Documentation

calcBudget function

Description

Once the costs are specified in bsd, this function calculates the total annual budget for the breeding scheme Assumptions There is no QC genotyping in the population improvement cycle Variety candidates get QC genotyped at every stage Variety candidates get whole genome genotyped once at the first stage The number of plots in each trial is nEntries*nReps so the cost of the trial is nEntries*nReps*nLocs*plotCost

Usage

calcBudget(bsd)

Arguments

bsd

List of breeding scheme data

Details

Call this function once costs have been specified

Value

Numeric vector with intermediate and total costs

Examples

bsd$budgetVec <- calcBudget(bsd)


jeanlucj/BreedSimCost documentation built on July 21, 2023, 1:59 a.m.