Given breeding scheme budget percentages, return numbers of crosses and plots The percentages are for PIC and for allocation to each VDP stage Rules: 1. For PIC, nBreedingProg has to be at least minNBreedingProg 2. Each stage has to have fewer entries than the previous stage If the percentages break the rules budgetToScheme returns a failure The total budget allowed is given by bsd$budget minus location maintenance

budgetToScheme(percentages, bsd)

Arguments

percentages

Numeric vector with nStages+1 cells which are alloction for PIC and for each stage.

bsd

List of breeding scheme data

Value

A revised bsd with the sizes of the stages fitting the percentages

Details

Call this function after running specifyCosts.

Examples