powered by
Function to derive the costs of a breeding program / population-list by cohorts
compute.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 )
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 geneation of a genotype
Costs for housing
one time occuring fixed costs
annually occuring fixed costs
profit generated by bv per animal
Applied yearly interest rate
Set to FALSE to not display any prints
Cost-table for selected gen/database/cohorts of a population-list
# NOT RUN { data(ex_pop) compute.costs.cohorts(ex_pop, gen=1:5, genotyping.costs=25, json=FALSE) # }
Run the code above in your browser using DataLab