powered by
Function to derive the costs of a breeding program / population-list
compute.costs( population, phenotyping.costs = 10, genotyping.costs = 100, fix.costs = 0, fix.costs.annual = 0, profit.per.bv = 1, database = NULL, gen = NULL, cohorts = NULL, interest.rate = 1, base.gen = 1 )
population-list
Costs for the generation of a phenotype
Costs for the geneation of a genotype
one time occuring fixed costs
annually occuring fixed costs
profit generated by bv per animal
Groups of individuals to consider
Quick-insert for database (vector of all generations to consider)
Quick-insert for database (vector of names of cohorts to consider)
Applied yearly interest rate
Base generation (application of interest rate)
Cost-table for selected gen/database/cohorts of a population-list
# NOT RUN { data(ex_pop) compute.costs(ex_pop, gen=1:5) # }
Run the code above in your browser using DataLab