compute.costs.cohorts {MoBPS}R Documentation

Compute costs of a breeding program by cohorts

Description

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

Usage

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
)

Arguments

population

population-list

gen

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

database

Groups of individuals to consider

cohorts

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

json

If TRUE extract which cohorts to plot according to the json-file used in json.simulation

phenotyping.costs

Costs for the generation of a phenotype

genotyping.costs

Costs for the geneation of a genotype

housing.costs

Costs for housing

fix.costs

one time occuring fixed costs

fix.costs.annual

annually occuring fixed costs

profit.per.bv

profit generated by bv per animal

interest.rate

Applied yearly interest rate

verbose

Set to FALSE to not display any prints

Value

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

Examples

data(ex_pop)
compute.costs.cohorts(ex_pop, gen=1:5, genotyping.costs=25, json=FALSE)

[Package MoBPS version 1.6.64 Index]