powered by
Function to derive the costs of a breeding program / population-list by cohorts
computing.costs.cohorts( population, gen = NULL, database = NULL, cohorts = NULL, json = TRUE, phenotyping.costs = NULL, genotyping.costs = 0, housing.costs = NULL, fix.costs = 0, fix.costs.annual = 0, profit.per.bv = 1, interest.rate = 1, verbose = TRUE )
Cost-table for selected gen/database/cohorts of a population-list
population-list
Quick-insert for database (vector of all generations to consider)
Groups of individuals to consider
Quick-insert for database (vector of names of cohorts to consider)
If TRUE extract which cohorts to plot according to the json-file used in json.simulation
Costs for the generation of a phenotype
Costs for the generation of a genotype
Costs for housing
one time occurring fixed costs
annually occurring fixed costs
profit generated by bv per animal
Applied yearly interest rate
Set to FALSE to not display any prints
data(ex_pop) computing.costs.cohorts(ex_pop, gen=1:5, genotyping.costs=25, json=FALSE)
Run the code above in your browser using DataLab