compute.costs {MoBPS}R Documentation

Compute costs of a breeding program

Description

Function to derive the costs of a breeding program / population-list

Usage

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
)

Arguments

population

population-list

phenotyping.costs

Costs for the generation of a phenotype

genotyping.costs

Costs for the geneation of a genotype

fix.costs

one time occuring fixed costs

fix.costs.annual

annually occuring fixed costs

profit.per.bv

profit generated by bv per animal

database

Groups of individuals to consider

gen

Quick-insert for database (vector of all generations to consider)

cohorts

Quick-insert for database (vector of names of cohorts to consider)

interest.rate

Applied yearly interest rate

base.gen

Base generation (application of interest rate)

Value

Cost-table for selected gen/database/cohorts of a population-list

Examples

data(ex_pop)
compute.costs(ex_pop, gen=1:5)

[Package MoBPS version 1.6.64 Index]