compute.costs.cohorts: Compute costs of a breeding program by cohorts

Description Usage Arguments Value Examples

View source: R/compute.costs.cohorts.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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

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

MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.