2 Calculations in R

Consider a very simple example:
How many calves can be fed by calf feeders per year?

Inputs

  • Define inputs to calculate calves
    • number of feeders: default = 2
    • number of calves: default = 30
    • days calves are fed by the feeder: default = 60

Calculations

  • Calculate
    • total number of calves that can be fed in a given point of time
    • groups of calves that can be turned over a year
    • calves that can be fed per year

Outputs

  • Display calculated values
## [1] 60
## [1] 6.083333
## [1] 365